Interface L3Attributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Router

    public interface L3Attributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module neutron-L3

     grouping L3-attributes {
       leaf distributed {
         type boolean;
         default false;
       }
       leaf gateway-port-id {
         type yang:uuid;
       }
       list routes {
         key "destination nexthop";
         leaf destination {
           type inet:ip-prefix;
         }
         leaf nexthop {
           type inet:ip-address;
         }
       }
       leaf router-status {
         type string;
       }
     }
     
    The schema path to identify an instance is neutron-L3/L3-attributes
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends L3Attributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • isDistributed

        Boolean isDistributed()
        whether this router is distributed or not.
        Returns:
        java.lang.Boolean distributed, or null if not present
      • getGatewayPortId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getGatewayPortId()
        the port uuid holding the router's gateway address.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid gatewayPortId, or null if not present
      • getRoutes

        @Nullable Map<RoutesKey,​Routes> getRoutes()
        list of routes for this router.
        Returns:
        java.util.Map routes, or null if not present
      • nonnullRoutes

        default @NonNull Map<RoutesKey,​Routes> nonnullRoutes()
        Returns:
        java.util.Map routes, or an empty list if it is not present
      • getRouterStatus

        String getRouterStatus()
        Contains the Router status.
        Returns:
        java.lang.String routerStatus, or null if not present