Interface BgpPeerRpcService

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

    @Generated("mdsal-binding-generator")
    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

      • routeRefreshRequest

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RouteRefreshRequestOutput>> routeRefreshRequest​(RouteRefreshRequestInput input)
        Invoke route-refresh-request RPC.
        Parameters:
        input - of route-refresh-request
        Returns:
        output of route-refresh-request
      • resetSession

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ResetSessionOutput>> resetSession​(ResetSessionInput input)
        Invoke reset-session RPC.
             
                 Resets the peer session
             
         
        Parameters:
        input - of reset-session
        Returns:
        output of reset-session
      • restartGracefully

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestartGracefullyOutput>> restartGracefully​(RestartGracefullyInput input)
        Invoke restart-gracefully RPC.
             
                 Perform graceful restart with peer
             
         
        Parameters:
        input - of restart-gracefully
        Returns:
        output of restart-gracefully