Interface FlowNodeConnector
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,CommonPort
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,FlowCapablePort
,Queues
- All Known Subinterfaces:
FlowCapableNodeConnector
,FlowCapableNodeConnectorUpdated
,FlowCapableNodeConnectorUpdateFields
@Generated("mdsal-binding-generator")
public interface FlowNodeConnector
extends org.opendaylight.yangtools.yang.binding.DataObject, FlowCapablePort
Wrapper of openflow port. TODO::simplify/rename
This class represents the following YANG schema fragment defined in module flow-node-inventory
grouping flow-node-connector { leaf reason { type port:port-reason; } uses port:flow-capable-port; }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn reason, ornull
if it is not present.Class<? extends FlowNodeConnector>
default @NonNull PortReason
Return reason, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.CommonPort
getAdvertisedFeatures, getConfiguration, getHardwareAddress, getPortNumber, requireAdvertisedFeatures, requireConfiguration, requireHardwareAddress, requirePortNumber
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.FlowCapablePort
getCurrentFeature, getCurrentSpeed, getMaximumSpeed, getName, getPeerFeatures, getState, getSupported, requireCurrentFeature, requireCurrentSpeed, requireMaximumSpeed, requireName, requirePeerFeatures, requireSupported
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.Queues
getQueue, nonnullQueue
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends FlowNodeConnector> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceCommonPort
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceFlowCapablePort
- Specified by:
implementedInterface
in interfaceQueues
-
getReason
PortReason getReason()Return reason, ornull
if it is not present.- Returns:
PortReason
reason, ornull
if it is not present.
-
requireReason
Return reason, guaranteed to be non-null.- Returns:
PortReason
reason, guaranteed to be non-null.- Throws:
NoSuchElementException
- if reason is not present
-