Interface FibRpcService

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

    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)
        to install FIB/LFIB/TST routes on specified dpn with given instructions
      • removeFibEntry

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFibEntryOutput>> removeFibEntry​(RemoveFibEntryInput input)
        to remove FIB/LFIB/TST routes from specified dpn
      • populateFibOnDpn

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<PopulateFibOnDpnOutput>> populateFibOnDpn​(PopulateFibOnDpnInput input)
        Populates FIB table in specified DPN
      • cleanupDpnForVpn

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CleanupDpnForVpnOutput>> cleanupDpnForVpn​(CleanupDpnForVpnInput input)
        Removes the VPN Fib entries in a given DPN