Interface ArbitratorReconcileService

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

    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)
        Fetches the active available bundle in openflowplugin
      • commitActiveBundle

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>> commitActiveBundle​(CommitActiveBundleInput input)
        Commits the active available bundle in openflowplugin