Class FibRpcServiceImpl

  • All Implemented Interfaces:
    FibRpcService, org.opendaylight.yangtools.yang.binding.RpcService

    @Singleton
    public class FibRpcServiceImpl
    extends java.lang.Object
    implements FibRpcService
    • Constructor Detail

      • FibRpcServiceImpl

        @Inject
        public FibRpcServiceImpl​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                 org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager,
                                 IFibManager fibManager,
                                 IVpnFootprintService vpnFootprintService)
    • Method Detail

      • createFibEntry

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateFibEntryOutput>> createFibEntry​(CreateFibEntryInput input)
        To install FIB routes on specified dpn with given instructions.
        Specified by:
        createFibEntry in interface FibRpcService
        Parameters:
        input - of create-fib-entry
        Returns:
        output of create-fib-entry
      • removeFibEntry

        public 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.
        Specified by:
        removeFibEntry in interface FibRpcService
        Parameters:
        input - of remove-fib-entry
        Returns:
        output of remove-fib-entry
      • populateFibOnDpn

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

        public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CleanupDpnForVpnOutput>> cleanupDpnForVpn​(CleanupDpnForVpnInput input)
        Description copied from interface: FibRpcService
        Invoke cleanup-dpn-for-vpn RPC.
             
                 Removes the VPN Fib entries in a given DPN
             
         
        Specified by:
        cleanupDpnForVpn in interface FibRpcService
        Parameters:
        input - of cleanup-dpn-for-vpn
        Returns:
        output of cleanup-dpn-for-vpn
      • getVpnRd

        public static @Nullable java.lang.String getVpnRd​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                                          java.lang.String vpnName)