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
-
-
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 Default Methods Deprecated Methods Modifier and Type Method Description java.lang.Boolean
getExternal()
Return external, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getNetworkId()
Return networkId, ornull
if it is not present.NetworkAttributes.NetworkType
getNetworkType()
Return networkType, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getSegmentationId()
Return segmentationId, ornull
if it is not present.java.lang.Class<? extends NetworkAttributes>
implementedInterface()
default java.lang.Boolean
isExternal()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
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
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getNetworkId()
Return networkId, ornull
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, ornull
if it is not present.
-
getNetworkType
NetworkAttributes.NetworkType getNetworkType()
Return networkType, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.NetworkAttributes.NetworkType
networkType, ornull
if it is not present.
-
getSegmentationId
org.opendaylight.yangtools.yang.common.Uint32 getSegmentationId()
Return segmentationId, ornull
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, ornull
if it is not present.
-
getExternal
java.lang.Boolean getExternal()
Return external, ornull
if it is not present.- Returns:
java.lang.Boolean
external, ornull
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.
-
-