Interface OdlSrmRpcsService

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

    public interface OdlSrmRpcsService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module odl-srm-rpcs
     rpc reinstall {
       input input {
         leaf entity-name {
           type identityref {
             base entity-name-base;
           }
         }
         leaf entity-type {
           type identityref {
             base entity-type-base;
           }
         }
       }
       output output {
         leaf successful {
           type boolean;
         }
         leaf message {
           type string;
         }
       }
     }
     rpc recover {
       input input {
         leaf entity-name {
           type identityref {
             base entity-name-base;
           }
         }
         leaf entity-type {
           type identityref {
             base entity-type-base;
           }
         }
         leaf entity-id {
           type string;
         }
       }
       output output {
         leaf response {
           type identityref {
             base rpc-result-base;
           }
         }
         leaf message {
           type string;
         }
       }
     }
     
    • Method Detail

      • reinstall

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ReinstallOutput>> reinstall​(ReinstallInput input)
        Reinstall a given service
      • recover

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RecoverOutput>> recover​(RecoverInput input)
        Recover a given service or instance