Interface BgpPeerRpcService

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

    public interface BgpPeerRpcService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module bgp-peer-rpc
     rpc route-refresh-request {
       input input {
         uses rr-msg-args;
       }
     }
     rpc reset-session {
       input input {
         uses peer-reference;
       }
     }
     rpc restart-gracefully {
       input input {
         uses peer-reference;
         leaf selection-deferral-time {
           type uint32;
           units seconds;
         }
       }
     }
     
    • Method Detail

      • resetSession

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ResetSessionOutput>> resetSession​(ResetSessionInput input)
        Resets the peer session
      • restartGracefully

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestartGracefullyOutput>> restartGracefully​(RestartGracefullyInput input)
        Perform graceful restart with peer