Interface NetworkAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Prefixes, Subnetmap, SubnetOpDataEntry, VpnInterface

    @Generated("mdsal-binding-generator")
    public interface NetworkAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping network-attributes {
       leaf network-id {
         type yang:uuid;
       }
       leaf network-type {
         type enumeration {
           enum FLAT;
           enum VLAN;
           enum VXLAN;
           enum GRE;
         }
       }
       leaf segmentation-id {
         type uint32;
       }
       leaf external {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is neutronvpn/network-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends NetworkAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getNetworkId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
        Return networkId, or null if it is not present.
             
                 UUID representing the network
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid networkId, or null if it is not present.
      • getNetworkType

        NetworkAttributes.NetworkType getNetworkType()
        Return networkType, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes.NetworkType networkType, or null if it is not present.
      • getSegmentationId

        org.opendaylight.yangtools.yang.common.Uint32 getSegmentationId()
        Return segmentationId, or null if it is not present.
             
                 Optional. Isolated segment on the physical network. If segment-type is vlan,
                 this ID is a vlan identifier. If segment-type is vxlan, this ID is a vni. If
                 segment-type is flat/gre, this ID is set to 0
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 segmentationId, or null if it is not present.
      • getExternal

        java.lang.Boolean getExternal()
        Return external, or null if it is not present.
        Returns:
        java.lang.Boolean external, or null if it is not present.
      • isExternal

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