Interface FlowTestInput
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<FlowTestInput>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.RpcInput
public interface FlowTestInput extends org.opendaylight.yangtools.yang.binding.RpcInput, org.opendaylight.yangtools.yang.binding.Augmentable<FlowTestInput>
This class represents the following YANG schema fragment defined in module sal-bulk-flow
input input { leaf create-parents { type boolean; default true; } leaf is-add { type boolean; } leaf dpn-count { type uint32; } leaf flows-per-dpn { type uint32; } leaf start-table-id { type uint32; } leaf end-table-id { type uint32; } leaf batch-size { type uint32; } leaf seq { type boolean; } leaf tx-chain { type boolean; } leaf sleep-for { type uint32; } leaf sleep-after { type uint32; } }
The schema path to identify an instance is sal-bulk-flow/flow-test/inputTo create instances of this class use
FlowTestInputBuilder
.- See Also:
FlowTestInputBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint32
getBatchSize()
batch size@Nullable org.opendaylight.yangtools.yang.common.Uint32
getDpnCount()
No of DPNs@Nullable org.opendaylight.yangtools.yang.common.Uint32
getEndTableId()
The last table to add flows to and then wrap around@Nullable org.opendaylight.yangtools.yang.common.Uint32
getFlowsPerDpn()
Flows to be pushed per DPN@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSleepAfter()
Sleep after the given number of iterations.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getSleepFor()
sleep for the given milliseconds@Nullable org.opendaylight.yangtools.yang.common.Uint32
getStartTableId()
Start adding flows from this table iddefault Class<FlowTestInput>
implementedInterface()
@Nullable Boolean
isCreateParents()
Create parents if doesn't exist@Nullable Boolean
isIsAdd()
Add or delete@Nullable Boolean
isSeq()
Whether to use sequential or concurrent writer@Nullable Boolean
isTxChain()
Whether to use PingPong Broker or not.
-
-
-
Method Detail
-
implementedInterface
default Class<FlowTestInput> 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 interfaceorg.opendaylight.yangtools.yang.binding.RpcInput
-
isCreateParents
@Nullable Boolean isCreateParents()
Create parents if doesn't exist- Returns:
java.lang.Boolean
createParents
, ornull
if not present
-
isIsAdd
@Nullable Boolean isIsAdd()
Add or delete- Returns:
java.lang.Boolean
isAdd
, ornull
if not present
-
getDpnCount
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getDpnCount()
No of DPNs- Returns:
org.opendaylight.yangtools.yang.common.Uint32
dpnCount
, ornull
if not present
-
getFlowsPerDpn
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getFlowsPerDpn()
Flows to be pushed per DPN- Returns:
org.opendaylight.yangtools.yang.common.Uint32
flowsPerDpn
, ornull
if not present
-
getStartTableId
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getStartTableId()
Start adding flows from this table id- Returns:
org.opendaylight.yangtools.yang.common.Uint32
startTableId
, ornull
if not present
-
getEndTableId
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getEndTableId()
The last table to add flows to and then wrap around- Returns:
org.opendaylight.yangtools.yang.common.Uint32
endTableId
, ornull
if not present
-
getBatchSize
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getBatchSize()
batch size- Returns:
org.opendaylight.yangtools.yang.common.Uint32
batchSize
, ornull
if not present
-
isSeq
@Nullable Boolean isSeq()
Whether to use sequential or concurrent writer- Returns:
java.lang.Boolean
seq
, ornull
if not present
-
isTxChain
@Nullable Boolean isTxChain()
Whether to use PingPong Broker or not. seq is ignored.- Returns:
java.lang.Boolean
txChain
, ornull
if not present
-
getSleepFor
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getSleepFor()
sleep for the given milliseconds- Returns:
org.opendaylight.yangtools.yang.common.Uint32
sleepFor
, ornull
if not present
-
getSleepAfter
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getSleepAfter()
Sleep after the given number of iterations. Will be used in the concurrent case only- Returns:
org.opendaylight.yangtools.yang.common.Uint32
sleepAfter
, ornull
if not present
-
-