Interface NodeFlow
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,Flow
,GenericFlowAttributes
,org.opendaylight.yangtools.binding.Grouping
,NodeContextRef
- All Known Subinterfaces:
AddFlowInput
,FlowAdded
,FlowRemoved
,FlowUpdated
,RemoveFlowInput
@Generated("mdsal-binding-generator")
public interface NodeFlow
extends org.opendaylight.yangtools.binding.Grouping, NodeContextRef, Flow
Top openflow flow structure suitable for rpc input (contains node-context).
This class represents the following YANG schema fragment defined in module sal-flow
grouping node-flow { uses inv:node-context-ref; leaf flow-table { type flow-table-ref; } uses types:flow; }
-
Method Summary
Modifier and TypeMethodDescriptionReturn flowTable, ornull
if it is not present.default @NonNull FlowTableRef
Return flowTable, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.Flow
getBarrier, getBufferId, getContainerName, getCookieMask, getFlags, getFlowName, getInstallHw, getInstructions, getMatch, getOutGroup, getOutPort, getStrict, nonnullInstructions, nonnullMatch, requireBarrier, requireBufferId, requireContainerName, requireCookieMask, requireFlags, requireFlowName, requireInstallHw, requireOutGroup, requireOutPort, requireStrict
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
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef
getNode, requireNode
-
Method Details
-
getFlowTable
FlowTableRef getFlowTable()Return flowTable, ornull
if it is not present.- Returns:
FlowTableRef
flowTable, ornull
if it is not present.
-
requireFlowTable
Return flowTable, guaranteed to be non-null.- Returns:
FlowTableRef
flowTable, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flowTable is not present
-