Interface FlowTestInput
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<FlowTestInput>
,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
,org.opendaylight.yangtools.yang.binding.RpcInput
@Generated("mdsal-binding-generator")
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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull FlowTestInput thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull FlowTestInput obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull FlowTestInput obj) Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint32
Return batchSize, ornull
if it is not present.Return createParents, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return dpnCount, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return endTableId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return flowsPerDpn, ornull
if it is not present.getIsAdd()
Return isAdd, ornull
if it is not present.getSeq()
Return seq, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return sleepAfter, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return sleepFor, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
Return startTableId, ornull
if it is not present.Return txChain, ornull
if it is not present.default Class<FlowTestInput>
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return batchSize, guaranteed to be non-null.default @NonNull Boolean
Return createParents, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return dpnCount, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return endTableId, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return flowsPerDpn, guaranteed to be non-null.default @NonNull Boolean
Return isAdd, guaranteed to be non-null.default @NonNull Boolean
Return seq, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return sleepAfter, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return sleepFor, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return startTableId, guaranteed to be non-null.default @NonNull Boolean
Return txChain, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
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 interfaceorg.opendaylight.yangtools.yang.binding.RpcInput
-
bindingHashCode
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
isnull
-
bindingEquals
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
isnull
-
bindingToString
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
isnull
-
getCreateParents
Boolean getCreateParents()Return createParents, ornull
if it is not present.Create parents if doesn't exist
- Returns:
Boolean
createParents, ornull
if it is not present.
-
requireCreateParents
Return createParents, guaranteed to be non-null.Create parents if doesn't exist
- Returns:
Boolean
createParents, guaranteed to be non-null.- Throws:
NoSuchElementException
- if createParents is not present
-
getIsAdd
Boolean getIsAdd()Return isAdd, ornull
if it is not present.Add or delete
- Returns:
Boolean
isAdd, ornull
if it is not present.
-
requireIsAdd
Return isAdd, guaranteed to be non-null.Add or delete
- Returns:
Boolean
isAdd, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isAdd is not present
-
getDpnCount
org.opendaylight.yangtools.yang.common.Uint32 getDpnCount()Return dpnCount, ornull
if it is not present.No of DPNs
- Returns:
Uint32
dpnCount, ornull
if it is not present.
-
requireDpnCount
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDpnCount()Return dpnCount, guaranteed to be non-null.No of DPNs
- Returns:
Uint32
dpnCount, guaranteed to be non-null.- Throws:
NoSuchElementException
- if dpnCount is not present
-
getFlowsPerDpn
org.opendaylight.yangtools.yang.common.Uint32 getFlowsPerDpn()Return flowsPerDpn, ornull
if it is not present.Flows to be pushed per DPN
- Returns:
Uint32
flowsPerDpn, ornull
if it is not present.
-
requireFlowsPerDpn
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireFlowsPerDpn()Return flowsPerDpn, guaranteed to be non-null.Flows to be pushed per DPN
- Returns:
Uint32
flowsPerDpn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flowsPerDpn is not present
-
getStartTableId
org.opendaylight.yangtools.yang.common.Uint32 getStartTableId()Return startTableId, ornull
if it is not present.Start adding flows from this table id
- Returns:
Uint32
startTableId, ornull
if it is not present.
-
requireStartTableId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireStartTableId()Return startTableId, guaranteed to be non-null.Start adding flows from this table id
- Returns:
Uint32
startTableId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if startTableId is not present
-
getEndTableId
org.opendaylight.yangtools.yang.common.Uint32 getEndTableId()Return endTableId, ornull
if it is not present.The last table to add flows to and then wrap around
- Returns:
Uint32
endTableId, ornull
if it is not present.
-
requireEndTableId
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireEndTableId()Return endTableId, guaranteed to be non-null.The last table to add flows to and then wrap around
- Returns:
Uint32
endTableId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if endTableId is not present
-
getBatchSize
org.opendaylight.yangtools.yang.common.Uint32 getBatchSize()Return batchSize, ornull
if it is not present.batch size
- Returns:
Uint32
batchSize, ornull
if it is not present.
-
requireBatchSize
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBatchSize()Return batchSize, guaranteed to be non-null.batch size
- Returns:
Uint32
batchSize, guaranteed to be non-null.- Throws:
NoSuchElementException
- if batchSize is not present
-
getSeq
Boolean getSeq()Return seq, ornull
if it is not present.Whether to use sequential or concurrent writer
- Returns:
Boolean
seq, ornull
if it is not present.
-
requireSeq
Return seq, guaranteed to be non-null.Whether to use sequential or concurrent writer
- Returns:
Boolean
seq, guaranteed to be non-null.- Throws:
NoSuchElementException
- if seq is not present
-
getTxChain
Boolean getTxChain()Return txChain, ornull
if it is not present.Whether to use PingPong Broker or not. seq is ignored.
- Returns:
Boolean
txChain, ornull
if it is not present.
-
requireTxChain
Return txChain, guaranteed to be non-null.Whether to use PingPong Broker or not. seq is ignored.
- Returns:
Boolean
txChain, guaranteed to be non-null.- Throws:
NoSuchElementException
- if txChain is not present
-
getSleepFor
org.opendaylight.yangtools.yang.common.Uint32 getSleepFor()Return sleepFor, ornull
if it is not present.sleep for the given milliseconds
- Returns:
Uint32
sleepFor, ornull
if it is not present.
-
requireSleepFor
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSleepFor()Return sleepFor, guaranteed to be non-null.sleep for the given milliseconds
- Returns:
Uint32
sleepFor, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sleepFor is not present
-
getSleepAfter
org.opendaylight.yangtools.yang.common.Uint32 getSleepAfter()Return sleepAfter, ornull
if it is not present.Sleep after the given number of iterations. Will be used in the concurrent case only
- Returns:
Uint32
sleepAfter, ornull
if it is not present.
-
requireSleepAfter
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireSleepAfter()Return sleepAfter, guaranteed to be non-null.Sleep after the given number of iterations. Will be used in the concurrent case only
- Returns:
Uint32
sleepAfter, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sleepAfter is not present
-