Interface FibRpcService

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

    @Generated("mdsal-binding-generator")
    public interface FibRpcService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module fib-rpc
     rpc create-fib-entry {
       input input {
         uses fib-entry-inputs;
         uses offlow:instruction-list;
       }
     }
     rpc remove-fib-entry {
       input input {
         uses fib-entry-inputs;
       }
     }
     rpc populate-fib-on-dpn {
       input input {
         leaf dpid {
           type uint64;
         }
         leaf vpn-id {
           type uint32;
         }
         leaf rd {
           type string;
         }
       }
     }
     rpc cleanup-dpn-for-vpn {
       input input {
         leaf dpid {
           type uint64;
         }
         leaf vpn-id {
           type uint32;
         }
         leaf rd {
           type string;
         }
       }
     }
     
    • Method Detail

      • createFibEntry

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateFibEntryOutput>> createFibEntry​(CreateFibEntryInput input)
        Invoke create-fib-entry RPC.
             
                 to install FIB/LFIB/TST routes on specified dpn with given instructions
             
         
        Parameters:
        input - of create-fib-entry
        Returns:
        output of create-fib-entry
      • removeFibEntry

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFibEntryOutput>> removeFibEntry​(RemoveFibEntryInput input)
        Invoke remove-fib-entry RPC.
             
                 to remove FIB/LFIB/TST routes from specified dpn
             
         
        Parameters:
        input - of remove-fib-entry
        Returns:
        output of remove-fib-entry
      • populateFibOnDpn

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<PopulateFibOnDpnOutput>> populateFibOnDpn​(PopulateFibOnDpnInput input)
        Invoke populate-fib-on-dpn RPC.
             
                 Populates FIB table in specified DPN
             
         
        Parameters:
        input - of populate-fib-on-dpn
        Returns:
        output of populate-fib-on-dpn
      • cleanupDpnForVpn

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CleanupDpnForVpnOutput>> cleanupDpnForVpn​(CleanupDpnForVpnInput input)
        Invoke cleanup-dpn-for-vpn RPC.
             
                 Removes the VPN Fib entries in a given DPN
             
         
        Parameters:
        input - of cleanup-dpn-for-vpn
        Returns:
        output of cleanup-dpn-for-vpn