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

    @Generated("mdsal-binding-generator")
    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
      • getDistributed

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

        @Deprecated(forRemoval=true)
        default Boolean isDistributed()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getGatewayPortId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getGatewayPortId()
        Return gatewayPortId, or null if it is not present.
             
                 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 it is not present.
      • getRoutes

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

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

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