Interface OpendaylightOfMigrationTestModelService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService

    public interface OpendaylightOfMigrationTestModelService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module opendaylight-of-migration-test-model
     rpc knock-knock {
       input input {
         leaf knocker-id {
           ext:context-reference routed:test-context;
           type instance-identifier;
         }
         leaf question {
           type string;
         }
       }
       output output {
         leaf answer {
           type string;
         }
       }
     }
     
    • Method Detail

      • knockKnock

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<KnockKnockOutput>> knockKnock​(KnockKnockInput input)