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

    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

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
        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 not present
      • getNetworkType

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getSegmentationId()
        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 not present
      • isExternal

        @Nullable java.lang.Boolean isExternal()
        Returns:
        java.lang.Boolean external, or null if not present