Interface ProviderAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NetworkProviderExtension
,Segments
public interface ProviderAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-provider
grouping provider-attributes { leaf physical-network { type string; } leaf network-type { type networks:network-type; } leaf segmentation-id { type string; } leaf segmentation-index { type uint32; } }
The schema path to identify an instance is neutron-provider/provider-attributes
-
-
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 Class<? extends NetworkTypeBase>
getNetworkType()
The type of physical network that maps to this network resource.@Nullable String
getPhysicalNetwork()
The physical network where this network object is implemented.@Nullable String
getSegmentationId()
An isolated segment on the physical network.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSegmentationIndex()
A hidden counter to act as a key, because segmentation id is not required.Class<? extends ProviderAttributes>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends ProviderAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPhysicalNetwork
@Nullable String getPhysicalNetwork()
The physical network where this network object is implemented. The Networking API v2.0 does not provide a way to list available physical networks. For example, the Open vSwitch plug-in configuration file defines a symbolic name that maps to specific bridges on each Compute host.- Returns:
java.lang.String
physicalNetwork
, ornull
if not present
-
getNetworkType
@Nullable Class<? extends NetworkTypeBase> getNetworkType()
The type of physical network that maps to this network resource.- Returns:
java.lang.Class
networkType
, ornull
if not present
-
getSegmentationId
@Nullable String getSegmentationId()
An isolated segment on the physical network. The network-type attribute defines the segmentation model. For example, if network-type is vlan, this ID is a vlan identifier. If network-type is gre, this ID is a gre key.- Returns:
java.lang.String
segmentationId
, ornull
if not present
-
getSegmentationIndex
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getSegmentationIndex()
A hidden counter to act as a key, because segmentation id is not required.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
segmentationIndex
, ornull
if not present
-
-