Class FibRpcServiceImpl
- java.lang.Object
-
- org.opendaylight.netvirt.fibmanager.FibRpcServiceImpl
-
- All Implemented Interfaces:
FibRpcService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class FibRpcServiceImpl extends java.lang.Object implements FibRpcService
-
-
Constructor Summary
Constructors Constructor Description FibRpcServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager, IFibManager fibManager, IVpnFootprintService vpnFootprintService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CleanupDpnForVpnOutput>>
cleanupDpnForVpn(CleanupDpnForVpnInput input)
Removes the VPN Fib entries in a given DPNcom.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.static @Nullable java.lang.String
getVpnRd(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, java.lang.String vpnName)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<PopulateFibOnDpnOutput>>
populateFibOnDpn(PopulateFibOnDpnInput input)
Populates FIB table in specified DPNcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveFibEntryOutput>>
removeFibEntry(RemoveFibEntryInput input)
To remove FIB/LFIB/TST routes from specified dpn.
-
-
-
Constructor Detail
-
FibRpcServiceImpl
@Inject public FibRpcServiceImpl(org.opendaylight.controller.md.sal.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 interfaceFibRpcService
-
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 interfaceFibRpcService
-
populateFibOnDpn
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<PopulateFibOnDpnOutput>> populateFibOnDpn(PopulateFibOnDpnInput input)
Description copied from interface:FibRpcService
Populates FIB table in specified DPN- Specified by:
populateFibOnDpn
in interfaceFibRpcService
-
cleanupDpnForVpn
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CleanupDpnForVpnOutput>> cleanupDpnForVpn(CleanupDpnForVpnInput input)
Description copied from interface:FibRpcService
Removes the VPN Fib entries in a given DPN- Specified by:
cleanupDpnForVpn
in interfaceFibRpcService
-
getVpnRd
public static @Nullable java.lang.String getVpnRd(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, java.lang.String vpnName)
-
-