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
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 @Nullable 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.@Nullable List<SubPorts>
getSubPorts()
Bundled sub ports (tunnels), transmitted through this trunk port.Class<? extends TrunkAttributes>
implementedInterface()
default @NonNull List<SubPorts>
nonnullSubPorts()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.attrs.rev150712.AdminAttributes
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
@Nullable 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
-
getSubPorts
@Nullable List<SubPorts> getSubPorts()
Bundled sub ports (tunnels), transmitted through this trunk port.- Returns:
java.util.List
subPorts
, ornull
if not present
-
-