Interface NodeFlow
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,Flow,GenericFlowAttributes,NodeContextRef
- All Known Subinterfaces:
AddFlowInput,FlowAdded,FlowRemoved,FlowUpdated,RemoveFlowInput
@Generated("mdsal-binding-generator")
public interface NodeFlow
extends org.opendaylight.yangtools.yang.binding.DataObject, 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;
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn flowTable, ornullif it is not present.default @NonNull FlowTableRefReturn flowTable, guaranteed to be non-null.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, requireBarrier, requireBufferId, requireContainerName, requireCookieMask, requireFlags, requireFlowName, requireInstallHw, requireOutGroup, requireOutPort, requireStrictMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.GenericFlowAttributes
getCookie, getHardTimeout, getIdleTimeout, getPriority, getTableId, requireCookie, requireHardTimeout, requireIdleTimeout, requirePriority, requireTableIdMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef
getNode, requireNode
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceFlow- Specified by:
implementedInterfacein interfaceGenericFlowAttributes- Specified by:
implementedInterfacein interfaceNodeContextRef
-
getFlowTable
FlowTableRef getFlowTable()Return flowTable, ornullif it is not present.- Returns:
FlowTableRefflowTable, ornullif it is not present.
-
requireFlowTable
Return flowTable, guaranteed to be non-null.- Returns:
FlowTableRefflowTable, guaranteed to be non-null.- Throws:
NoSuchElementException- if flowTable is not present
-