Interface SalMetersBatchService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService
    All Known Implementing Classes:
    SalMetersBatchServiceImpl

    @Generated("mdsal-binding-generator")
    public interface SalMetersBatchService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module sal-meters-batch
     rpc add-meters-batch {
       input input {
         uses inv:node-context-ref;
         list batch-add-meters {
           key meter-id;
           leaf meter-ref {
             type meter-type:meter-ref;
           }
           uses meter-type:meter;
         }
         uses bc:barrier-suffix;
       }
       output output {
         uses batch-meter-output-list-grouping;
       }
     }
     rpc remove-meters-batch {
       input input {
         uses inv:node-context-ref;
         list batch-remove-meters {
           key meter-id;
           leaf meter-ref {
             type meter-type:meter-ref;
           }
           uses meter-type:meter;
         }
         uses bc:barrier-suffix;
       }
       output output {
         uses batch-meter-output-list-grouping;
       }
     }
     rpc update-meters-batch {
       input input {
         uses inv:node-context-ref;
         list batch-update-meters {
           leaf meter-ref {
             type meter-type:meter-ref;
           }
           uses batch-meter-input-update-grouping;
         }
         uses bc:barrier-suffix;
       }
       output output {
         uses batch-meter-output-list-grouping;
       }
     }
     
    • Method Detail

      • addMetersBatch

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddMetersBatchOutput>> addMetersBatch​(AddMetersBatchInput input)
        Invoke add-meters-batch RPC.
             
                 Adding batch meters to openflow device.
             
         
        Parameters:
        input - of add-meters-batch
        Returns:
        output of add-meters-batch
      • removeMetersBatch

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveMetersBatchOutput>> removeMetersBatch​(RemoveMetersBatchInput input)
        Invoke remove-meters-batch RPC.
             
                 Removing batch meter from openflow device.
             
         
        Parameters:
        input - of remove-meters-batch
        Returns:
        output of remove-meters-batch
      • updateMetersBatch

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<UpdateMetersBatchOutput>> updateMetersBatch​(UpdateMetersBatchInput input)
        Invoke update-meters-batch RPC.
             
                 Updating batch meter on openflow device.
             
         
        Parameters:
        input - of update-meters-batch
        Returns:
        output of update-meters-batch