Interface SalRoleService

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

    public interface SalRoleService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module sal-role
     rpc set-role {
       input input {
         uses tr:transaction-metadata;
         uses inv:node-context-ref;
         leaf controller-role {
           type ofp-role;
         }
       }
       output output {
         uses tr:transaction-aware;
       }
     }
     
    • Method Detail

      • setRole

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetRoleOutput>> setRole​(SetRoleInput input)
        Setting role to openflow device.