Interface TrunkAttributes
-
- All Superinterfaces:
AdminAttributes
,BaseAttributes
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,IdAttributes
- All Known Subinterfaces:
Trunk
@Generated("mdsal-binding-generator") public interface TrunkAttributes extends org.opendaylight.yangtools.yang.binding.DataObject, BaseAttributes, AdminAttributes
Decorates a single neutron port to serve as a trunk port, bundling several sub ports (tunnels) together.This class represents the following YANG schema fragment defined in module neutron-trunks
grouping trunk-attributes { uses attrs:base-attributes; uses attrs:admin-attributes; leaf port-id { type yang:uuid; } list sub-ports { key port-id; unique "segmentation-type segmentation-id"; uses sub-port-attributes; } }
The schema path to identify an instance is neutron-trunks/trunk-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 Default 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.@Nullable Map<SubPortsKey,SubPorts>
getSubPorts()
Return subPorts, ornull
if it is not present.Class<? extends TrunkAttributes>
implementedInterface()
default @NonNull Map<SubPortsKey,SubPorts>
nonnullSubPorts()
Return subPorts, or an empty list if it is not present.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.AdminAttributes
getAdminStateUp, getStatus, isAdminStateUp
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.BaseAttributes
getName
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.IdAttributes
getProjectId, getRevisionNumber, getTenantId, getUuid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends TrunkAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceAdminAttributes
- Specified by:
implementedInterface
in interfaceBaseAttributes
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceIdAttributes
-
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.
-
getSubPorts
@Nullable Map<SubPortsKey,SubPorts> getSubPorts()
Return subPorts, ornull
if it is not present.Bundled sub ports (tunnels), transmitted through this trunk port.
- Returns:
java.util.Map
subPorts, ornull
if it is not present.
-
nonnullSubPorts
default @NonNull Map<SubPortsKey,SubPorts> nonnullSubPorts()
Return subPorts, or an empty list if it is not present.- Returns:
java.util.Map
subPorts, or an empty list if it is not present.
-
-