Interface Subnetmap

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Subnetmap>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Subnetmaps>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<SubnetmapKey>, NetworkAttributes

    public interface Subnetmap
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Subnetmaps>, org.opendaylight.yangtools.yang.binding.Augmentable<Subnetmap>, NetworkAttributes, org.opendaylight.yangtools.yang.binding.Identifiable<SubnetmapKey>

    This class represents the following YANG schema fragment defined in module neutronvpn

     list subnetmap {
       key id;
       leaf id {
         type yang:uuid;
       }
       leaf subnet-ip {
         type string;
       }
       uses network-attributes;
       leaf tenant-id {
         type yang:uuid;
       }
       leaf router-id {
         type yang:uuid;
       }
       leaf router-interface-port-id {
         type yang:uuid;
       }
       leaf router-intf-mac-address {
         type string;
       }
       leaf router-interface-fixed-ip {
         type string;
       }
       leaf vpn-id {
         type yang:uuid;
       }
       leaf internet-vpn-id {
         type yang:uuid;
       }
       leaf-list port-list {
         type yang:uuid;
       }
       leaf-list direct-port-list {
         type yang:uuid;
       }
     }
     
    The schema path to identify an instance is neutronvpn/subnetmaps/subnetmap

    To create instances of this class use SubnetmapBuilder.

    See Also:
    SubnetmapBuilder, SubnetmapKey
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getDirectPortList()  
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getId()
      UUID representing the subnet
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getInternetVpnId()
      internet VPN to which this IPv6 subnet belongs
      @Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getPortList()  
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getRouterId()
      router to which this subnet belongs
      @Nullable java.lang.String getRouterInterfaceFixedIp()
      fixed ip of the router interface port on this subnet
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getRouterInterfacePortId()
      port corresponding to router interface on this subnet
      @Nullable java.lang.String getRouterIntfMacAddress()
      router interface mac address on this subnet
      @Nullable java.lang.String getSubnetIp()
      Specifies the subnet IP in CIDR format
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTenantId()
      The UUID of the tenant that will own the subnet.
      @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getVpnId()
      VPN to which this subnet belongs
      default java.lang.Class<Subnetmap> implementedInterface()  
      SubnetmapKey key()  
      • Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable

        augmentation
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getId()
        UUID representing the subnet
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid id, or null if not present
      • getSubnetIp

        @Nullable java.lang.String getSubnetIp()
        Specifies the subnet IP in CIDR format
        Returns:
        java.lang.String subnetIp, or null if not present
      • getTenantId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTenantId()
        The UUID of the tenant that will own the subnet.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid tenantId, or null if not present
      • getRouterId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getRouterId()
        router to which this subnet belongs
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerId, or null if not present
      • getRouterInterfacePortId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getRouterInterfacePortId()
        port corresponding to router interface on this subnet
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid routerInterfacePortId, or null if not present
      • getRouterIntfMacAddress

        @Nullable java.lang.String getRouterIntfMacAddress()
        router interface mac address on this subnet
        Returns:
        java.lang.String routerIntfMacAddress, or null if not present
      • getRouterInterfaceFixedIp

        @Nullable java.lang.String getRouterInterfaceFixedIp()
        fixed ip of the router interface port on this subnet
        Returns:
        java.lang.String routerInterfaceFixedIp, or null if not present
      • getVpnId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getVpnId()
        VPN to which this subnet belongs
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnId, or null if not present
      • getInternetVpnId

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getInternetVpnId()
        internet VPN to which this IPv6 subnet belongs
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid internetVpnId, or null if not present
      • getPortList

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

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

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