Interface NodeFlowRemoved
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,FlowModRemoved
,GenericFlowAttributes
- All Known Subinterfaces:
SwitchFlowRemoved
@Generated("mdsal-binding-generator") public interface NodeFlowRemoved extends org.opendaylight.yangtools.yang.binding.DataObject, FlowModRemoved
Flow removed message structure.This class represents the following YANG schema fragment defined in module sal-flow
grouping node-flow-removed { leaf node { ext:context-reference inv:node-context; type inv:node-ref; } leaf flow-table { type flow-table-ref; } uses types:flow-mod-removed; }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FlowTableRef
getFlowTable()
Return flowTable, ornull
if it is not present.NodeRef
getNode()
Return node, ornull
if it is not present.Class<? extends NodeFlowRemoved>
implementedInterface()
default @NonNull FlowTableRef
requireFlowTable()
Return flowTable, guaranteed to be non-null.default @NonNull NodeRef
requireNode()
Return node, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowModRemoved
getByteCount, getDurationNsec, getDurationSec, getMatch, getPacketCount, getRemovedReason, requireByteCount, requireDurationNsec, requireDurationSec, requirePacketCount, requireRemovedReason
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes
getCookie, getHardTimeout, getIdleTimeout, getPriority, getTableId, requireCookie, requireHardTimeout, requireIdleTimeout, requirePriority, requireTableId
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends NodeFlowRemoved> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceFlowModRemoved
- Specified by:
implementedInterface
in interfaceGenericFlowAttributes
-
getNode
@RoutingContext(NodeContext.class) NodeRef getNode()
Return node, ornull
if it is not present.- Returns:
NodeRef
node, ornull
if it is not present.
-
requireNode
default @NonNull NodeRef requireNode()
Return node, guaranteed to be non-null.- Returns:
NodeRef
node, guaranteed to be non-null.- Throws:
NoSuchElementException
- if node is not present
-
getFlowTable
FlowTableRef getFlowTable()
Return flowTable, ornull
if it is not present.- Returns:
FlowTableRef
flowTable, ornull
if it is not present.
-
requireFlowTable
default @NonNull FlowTableRef requireFlowTable()
Return flowTable, guaranteed to be non-null.- Returns:
FlowTableRef
flowTable, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flowTable is not present
-
-