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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NetworkAttributes.NetworkType
-
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 Modifier and Type Method Description @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getNetworkId()
UUID representing the network@Nullable NetworkAttributes.NetworkType
getNetworkType()
@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSegmentationId()
Optional.java.lang.Class<? extends NetworkAttributes>
implementedInterface()
@Nullable java.lang.Boolean
isExternal()
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends NetworkAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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
, ornull
if not present
-
getNetworkType
@Nullable NetworkAttributes.NetworkType getNetworkType()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes.NetworkType
networkType
, ornull
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
, ornull
if not present
-
isExternal
@Nullable java.lang.Boolean isExternal()
- Returns:
java.lang.Boolean
external
, ornull
if not present
-
-