Interface SubPortAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
SubPorts
@Generated("mdsal-binding-generator") public interface SubPortAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Decorates a single neutron port to serve as a tunneling port that a VM can use for segmented traffic. The VM in question must have the ability to encapsulate and decapsulate the traffic based on the port's tunneling protocol and tunnel id. NOTE: Currently the only supported tunneling protocol is 802.1q.This class represents the following YANG schema fragment defined in module neutron-trunks
grouping sub-port-attributes { leaf port-id { type yang:uuid; } leaf segmentation-type { type networks:network-type; } leaf segmentation-id { type uint32; } }
The schema path to identify an instance is neutron-trunks/sub-port-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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getPortId()
Return portId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getSegmentationId()
Return segmentationId, ornull
if it is not present.Class<? extends NetworkTypeBase>
getSegmentationType()
Return segmentationType, ornull
if it is not present.Class<? extends SubPortAttributes>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends SubPortAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPortId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPortId()
Return portId, ornull
if it is not present.UUID of the neutron port to be turned into a trunk.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
portId, ornull
if it is not present.
-
getSegmentationType
Class<? extends NetworkTypeBase> getSegmentationType()
Return segmentationType, ornull
if it is not present.Type of tunneling protocol used to encapsulate traffic in this port.
- Returns:
java.lang.Class
segmentationType, ornull
if it is not present.
-
getSegmentationId
org.opendaylight.yangtools.yang.common.Uint32 getSegmentationId()
Return segmentationId, ornull
if it is not present.Tunnel id of the specific tunnel.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
segmentationId, ornull
if it is not present.
-
-