Interface Routers

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Routers>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExtRouters>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<RoutersKey>

    public interface Routers
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExtRouters>, org.opendaylight.yangtools.yang.binding.Augmentable<Routers>, org.opendaylight.yangtools.yang.binding.Identifiable<RoutersKey>

    This class represents the following YANG schema fragment defined in module odl-nat

     list routers {
       key router-name;
       leaf router-name {
         type string;
       }
       leaf network-id {
         type yang:uuid;
       }
       leaf enable-snat {
         type boolean;
       }
       list external-ips {
         key "subnet-id ip-address";
         leaf subnet-id {
           type yang:uuid;
         }
         leaf ip-address {
           type string;
         }
       }
       leaf-list subnet-ids {
         type yang:uuid;
       }
       leaf ext_gw_mac_address {
         type string;
       }
     }
     
    The schema path to identify an instance is odl-nat/ext-routers/routers

    To create instances of this class use RoutersBuilder.

    See Also:
    RoutersBuilder, RoutersKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Routers> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRouterName

        @Nullable java.lang.String getRouterName()
        Returns:
        java.lang.String routerName, or null if not present
      • getNetworkId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, or null if not present
      • isEnableSnat

        @Nullable java.lang.Boolean isEnableSnat()
        Returns:
        java.lang.Boolean enableSnat, or null if not present
      • getExternalIps

        @Nullable java.util.List<ExternalIps> getExternalIps()
        Returns:
        java.util.List externalIps, or null if not present
      • nonnullExternalIps

        default @NonNull java.util.List<ExternalIps> nonnullExternalIps()
        Returns:
        java.util.List externalIps, or an empty list if it is not present
      • getSubnetIds

        @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getSubnetIds()
        Returns:
        java.util.List subnetIds, or null if not present
      • getExtGwMacAddress

        @Nullable java.lang.String getExtGwMacAddress()
        Returns:
        java.lang.String extGwMacAddress, or null if not present
      • key

        RoutersKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<RoutersKey>