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
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()
UUID of the neutron port to be turned into a trunk.org.opendaylight.yangtools.yang.common.Uint32
getSegmentationId()
Tunnel id of the specific tunnel.Class<? extends NetworkTypeBase>
getSegmentationType()
Type of tunneling protocol used to encapsulate traffic in this port.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()
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 not present
-
getSegmentationType
Class<? extends NetworkTypeBase> getSegmentationType()
Type of tunneling protocol used to encapsulate traffic in this port.- Returns:
java.lang.Class
segmentationType
, ornull
if not present
-
getSegmentationId
org.opendaylight.yangtools.yang.common.Uint32 getSegmentationId()
Tunnel id of the specific tunnel.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
segmentationId
, ornull
if not present
-
-