Interface OdlSrmRpcsService

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

    @Generated("mdsal-binding-generator")
    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)
        Invoke reinstall RPC.
             
                 Reinstall a given service
             
         
        Parameters:
        input - of reinstall
        Returns:
        output of reinstall
      • recover

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RecoverOutput>> recover​(RecoverInput input)
        Invoke recover RPC.
             
                 Recover a given service or instance
             
         
        Parameters:
        input - of recover
        Returns:
        output of recover