Interface Flow
- 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
,GenericFlowAttributes
- All Known Subinterfaces:
AddFlowCaseData
,AddFlowInput
,BatchAddFlows
,BatchFlowInputGrouping
,BatchRemoveFlows
,BulkFlowBaseContentGrouping
,BulkFlowDsItem
,BulkFlowItem
,FlatBatchAddFlow
,FlatBatchRemoveFlow
,Flow
,FlowAdded
,FlowAggregateStats
,FlowAndStatisticsMap
,FlowAndStatisticsMapList
,FlowMessage
,FlowRemoved
,FlowStats
,FlowUpdated
,GetAggregateFlowStatisticsFromFlowTableForGivenMatchInput
,GetFlowStatisticsFromFlowTableInput
,GetFlowStatisticsInput
,NodeFlow
,OriginalBatchedFlow
,OriginalFlow
,RemoveFlowCaseData
,RemoveFlowInput
,StaleFlow
,UpdatedBatchedFlow
,UpdatedFlow
,UpdateFlowCaseData
@Generated("mdsal-binding-generator")
public interface Flow
extends org.opendaylight.yangtools.yang.binding.DataObject, GenericFlowAttributes
This class represents the following YANG schema fragment defined in module opendaylight-flow-types
grouping flow { container match { uses match:match; } container instructions { uses instruction-list; } uses generic_flow_attributes; leaf container-name { type string; } leaf cookie_mask { type flow-cookie; } leaf buffer_id { type uint32; } leaf out_port { type uint64; } leaf out_group { type uint32; } leaf flags { type flow-mod-flags; } leaf flow-name { type string; } leaf installHw { type boolean; } leaf barrier { type boolean; } leaf strict { type boolean; default false; } }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn barrier, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return bufferId, ornull
if it is not present.Return containerName, ornull
if it is not present.Return cookieMask, ornull
if it is not present.getFlags()
Return flags, ornull
if it is not present.Return flowName, ornull
if it is not present.Return installHw, ornull
if it is not present.Return instructions, ornull
if it is not present.getMatch()
Return match, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return outGroup, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return outPort, ornull
if it is not present.Return strict, ornull
if it is not present.default @NonNull Boolean
Return barrier, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return bufferId, guaranteed to be non-null.default @NonNull String
Return containerName, guaranteed to be non-null.default @NonNull FlowCookie
Return cookieMask, guaranteed to be non-null.default @NonNull FlowModFlags
Return flags, guaranteed to be non-null.default @NonNull String
Return flowName, guaranteed to be non-null.default @NonNull Boolean
Return installHw, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return outGroup, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return outPort, guaranteed to be non-null.default @NonNull Boolean
Return strict, guaranteed to be non-null.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
-
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:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceGenericFlowAttributes
-
getMatch
Match getMatch()Return match, ornull
if it is not present.- Returns:
Match
match, ornull
if it is not present.
-
getInstructions
Instructions getInstructions()Return instructions, ornull
if it is not present.- Returns:
Instructions
instructions, ornull
if it is not present.
-
getContainerName
String getContainerName()Return containerName, ornull
if it is not present.- Returns:
String
containerName, ornull
if it is not present.
-
requireContainerName
Return containerName, guaranteed to be non-null.- Returns:
String
containerName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if containerName is not present
-
getCookieMask
FlowCookie getCookieMask()Return cookieMask, ornull
if it is not present.- Returns:
FlowCookie
cookieMask, ornull
if it is not present.
-
requireCookieMask
Return cookieMask, guaranteed to be non-null.- Returns:
FlowCookie
cookieMask, guaranteed to be non-null.- Throws:
NoSuchElementException
- if cookieMask is not present
-
getBufferId
org.opendaylight.yangtools.yang.common.Uint32 getBufferId()Return bufferId, ornull
if it is not present.- Returns:
Uint32
bufferId, ornull
if it is not present.
-
requireBufferId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBufferId()Return bufferId, guaranteed to be non-null.- Returns:
Uint32
bufferId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bufferId is not present
-
getOutPort
org.opendaylight.yangtools.yang.common.Uint64 getOutPort()Return outPort, ornull
if it is not present.- Returns:
Uint64
outPort, ornull
if it is not present.
-
requireOutPort
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireOutPort()Return outPort, guaranteed to be non-null.- Returns:
Uint64
outPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if outPort is not present
-
getOutGroup
org.opendaylight.yangtools.yang.common.Uint32 getOutGroup()Return outGroup, ornull
if it is not present.- Returns:
Uint32
outGroup, ornull
if it is not present.
-
requireOutGroup
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireOutGroup()Return outGroup, guaranteed to be non-null.- Returns:
Uint32
outGroup, guaranteed to be non-null.- Throws:
NoSuchElementException
- if outGroup is not present
-
getFlags
FlowModFlags getFlags()Return flags, ornull
if it is not present.- Returns:
FlowModFlags
flags, ornull
if it is not present.
-
requireFlags
Return flags, guaranteed to be non-null.- Returns:
FlowModFlags
flags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flags is not present
-
getFlowName
String getFlowName()Return flowName, ornull
if it is not present.- Returns:
String
flowName, ornull
if it is not present.
-
requireFlowName
Return flowName, guaranteed to be non-null.- Returns:
String
flowName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flowName is not present
-
getInstallHw
Boolean getInstallHw()Return installHw, ornull
if it is not present.- Returns:
Boolean
installHw, ornull
if it is not present.
-
requireInstallHw
Return installHw, guaranteed to be non-null.- Returns:
Boolean
installHw, guaranteed to be non-null.- Throws:
NoSuchElementException
- if installHw is not present
-
getBarrier
Boolean getBarrier()Return barrier, ornull
if it is not present.- Returns:
Boolean
barrier, ornull
if it is not present.
-
requireBarrier
Return barrier, guaranteed to be non-null.- Returns:
Boolean
barrier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if barrier is not present
-
getStrict
Boolean getStrict()Return strict, ornull
if it is not present.- Returns:
Boolean
strict, ornull
if it is not present.
-
requireStrict
Return strict, guaranteed to be non-null.- Returns:
Boolean
strict, guaranteed to be non-null.- Throws:
NoSuchElementException
- if strict is not present
-