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
@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; } }
The schema path to identify an instance is sal-bulk-flow/flow-test/input
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static 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
getBatchSize()
Return batchSize, ornull
if it is not present.Boolean
getCreateParents()
Return createParents, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getDpnCount()
Return dpnCount, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getEndTableId()
Return endTableId, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getFlowsPerDpn()
Return flowsPerDpn, ornull
if it is not present.Boolean
getIsAdd()
Return isAdd, ornull
if it is not present.Boolean
getSeq()
Return seq, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getSleepAfter()
Return sleepAfter, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getSleepFor()
Return sleepFor, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getStartTableId()
Return startTableId, ornull
if it is not present.Boolean
getTxChain()
Return txChain, ornull
if it is not present.default Class<FlowTestInput>
implementedInterface()
default Boolean
isCreateParents()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isIsAdd()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isSeq()
Deprecated, for removal: This API element is subject to removal in a future version.default Boolean
isTxChain()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
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
-
bindingHashCode
static int bindingHashCode(@NonNull FlowTestInput obj)
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
is null
-
bindingEquals
static boolean bindingEquals(@NonNull FlowTestInput thisObj, Object obj)
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
is null
-
bindingToString
static String bindingToString(@NonNull FlowTestInput obj)
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
is null
-
getCreateParents
Boolean getCreateParents()
Return createParents, ornull
if it is not present.Create parents if doesn't exist
- Returns:
java.lang.Boolean
createParents, ornull
if it is not present.
-
isCreateParents
@Deprecated(forRemoval=true) default Boolean isCreateParents()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIsAdd
Boolean getIsAdd()
Return isAdd, ornull
if it is not present.Add or delete
- Returns:
java.lang.Boolean
isAdd, ornull
if it is not present.
-
isIsAdd
@Deprecated(forRemoval=true) default Boolean isIsAdd()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getDpnCount
org.opendaylight.yangtools.yang.common.Uint32 getDpnCount()
Return dpnCount, ornull
if it is not present.No of DPNs
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
dpnCount, ornull
if it 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:
org.opendaylight.yangtools.yang.common.Uint32
flowsPerDpn, ornull
if it 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:
org.opendaylight.yangtools.yang.common.Uint32
startTableId, ornull
if it 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:
org.opendaylight.yangtools.yang.common.Uint32
endTableId, ornull
if it is not present.
-
getBatchSize
org.opendaylight.yangtools.yang.common.Uint32 getBatchSize()
Return batchSize, ornull
if it is not present.batch size
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
batchSize, ornull
if it is not present.
-
getSeq
Boolean getSeq()
Return seq, ornull
if it is not present.Whether to use sequential or concurrent writer
- Returns:
java.lang.Boolean
seq, ornull
if it is not present.
-
isSeq
@Deprecated(forRemoval=true) default Boolean isSeq()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getTxChain
Boolean getTxChain()
Return txChain, ornull
if it is not present.Whether to use PingPong Broker or not. seq is ignored.
- Returns:
java.lang.Boolean
txChain, ornull
if it is not present.
-
isTxChain
@Deprecated(forRemoval=true) default Boolean isTxChain()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getSleepFor
org.opendaylight.yangtools.yang.common.Uint32 getSleepFor()
Return sleepFor, ornull
if it is not present.sleep for the given milliseconds
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
sleepFor, ornull
if it 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:
org.opendaylight.yangtools.yang.common.Uint32
sleepAfter, ornull
if it is not present.
-
-