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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<FlowTestInput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcInput
      • bindingHashCode

        static int bindingHashCode​(@NonNull FlowTestInput obj)
        Default implementation of Object.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 - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull FlowTestInput thisObj,
                                     Object obj)
        Default implementation of Object.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 invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull FlowTestInput obj)
        Default implementation of Object.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 - if obj is null
      • getCreateParents

        Boolean getCreateParents()
        Return createParents, or null if it is not present.
             
                 Create parents if doesn't exist
             
         
        Returns:
        java.lang.Boolean createParents, or null 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, or null if it is not present.
             
                 Add or delete
             
         
        Returns:
        java.lang.Boolean isAdd, or null 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, or null if it is not present.
             
                 No of DPNs
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 dpnCount, or null if it is not present.
      • getFlowsPerDpn

        org.opendaylight.yangtools.yang.common.Uint32 getFlowsPerDpn()
        Return flowsPerDpn, or null if it is not present.
             
                 Flows to be pushed per DPN
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 flowsPerDpn, or null if it is not present.
      • getStartTableId

        org.opendaylight.yangtools.yang.common.Uint32 getStartTableId()
        Return startTableId, or null if it is not present.
             
                 Start adding flows from this table id
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 startTableId, or null if it is not present.
      • getEndTableId

        org.opendaylight.yangtools.yang.common.Uint32 getEndTableId()
        Return endTableId, or null if it is not present.
             
                 The last table to add flows to and then wrap around
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 endTableId, or null if it is not present.
      • getBatchSize

        org.opendaylight.yangtools.yang.common.Uint32 getBatchSize()
        Return batchSize, or null if it is not present.
             
                 batch size
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 batchSize, or null if it is not present.
      • getSeq

        Boolean getSeq()
        Return seq, or null if it is not present.
             
                 Whether to use sequential or concurrent writer
             
         
        Returns:
        java.lang.Boolean seq, or null 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, or null if it is not present.
             
                 Whether to use PingPong Broker or not. seq is ignored.
             
         
        Returns:
        java.lang.Boolean txChain, or null 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, or null if it is not present.
             
                 sleep for the given milliseconds
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 sleepFor, or null if it is not present.
      • getSleepAfter

        org.opendaylight.yangtools.yang.common.Uint32 getSleepAfter()
        Return sleepAfter, or null 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, or null if it is not present.