Interface ArbitratorReconcileService

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

    @Generated("mdsal-binding-generator")
    public interface ArbitratorReconcileService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module arbitrator-reconcile
     rpc get-active-bundle {
       input input {
         uses inv:node-context-ref;
         leaf node-id {
           type uint64;
         }
       }
       output output {
         leaf result {
           type onf-ext:bundle-id;
         }
       }
     }
     rpc commit-active-bundle {
       input input {
         uses inv:node-context-ref;
         leaf node-id {
           type uint64;
         }
       }
       output output {
         leaf result {
           type boolean;
         }
       }
     }
     
    • Method Detail

      • getActiveBundle

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>> getActiveBundle​(GetActiveBundleInput input)
        Invoke get-active-bundle RPC.
             
                 Fetches the active available bundle in openflowplugin
             
         
        Parameters:
        input - of get-active-bundle
        Returns:
        output of get-active-bundle
      • commitActiveBundle

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>> commitActiveBundle​(CommitActiveBundleInput input)
        Invoke commit-active-bundle RPC.
             
                 Commits the active available bundle in openflowplugin
             
         
        Parameters:
        input - of commit-active-bundle
        Returns:
        output of commit-active-bundle