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 org.opendaylight.yangtools.yang.common.Uint32
getBatchSize()
batch sizeorg.opendaylight.yangtools.yang.common.Uint32
getDpnCount()
No of DPNsorg.opendaylight.yangtools.yang.common.Uint32
getEndTableId()
The last table to add flows to and then wrap aroundorg.opendaylight.yangtools.yang.common.Uint32
getFlowsPerDpn()
Flows to be pushed per DPNorg.opendaylight.yangtools.yang.common.Uint32
getSleepAfter()
Sleep after the given number of iterations.org.opendaylight.yangtools.yang.common.Uint32
getSleepFor()
sleep for the given millisecondsorg.opendaylight.yangtools.yang.common.Uint32
getStartTableId()
Start adding flows from this table iddefault Class<FlowTestInput>
implementedInterface()
Boolean
isCreateParents()
Create parents if doesn't existBoolean
isIsAdd()
Add or deleteBoolean
isSeq()
Whether to use sequential or concurrent writerBoolean
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
Boolean isCreateParents()
Create parents if doesn't exist- Returns:
java.lang.Boolean
createParents
, ornull
if not present
-
isIsAdd
Boolean isIsAdd()
Add or delete- Returns:
java.lang.Boolean
isAdd
, ornull
if not present
-
getDpnCount
org.opendaylight.yangtools.yang.common.Uint32 getDpnCount()
No of DPNs- Returns:
org.opendaylight.yangtools.yang.common.Uint32
dpnCount
, ornull
if not present
-
getFlowsPerDpn
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
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
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
org.opendaylight.yangtools.yang.common.Uint32 getBatchSize()
batch size- Returns:
org.opendaylight.yangtools.yang.common.Uint32
batchSize
, ornull
if not present
-
isSeq
Boolean isSeq()
Whether to use sequential or concurrent writer- Returns:
java.lang.Boolean
seq
, ornull
if not present
-
isTxChain
Boolean isTxChain()
Whether to use PingPong Broker or not. seq is ignored.- Returns:
java.lang.Boolean
txChain
, ornull
if not present
-
getSleepFor
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
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
-
-