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.mdsal.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)
Invokecleanup-dpn-for-vpn
RPC.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.static @Nullable java.lang.String
getVpnRd(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String vpnName)
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<PopulateFibOnDpnOutput>>
populateFibOnDpn(PopulateFibOnDpnInput input)
Invokepopulate-fib-on-dpn
RPC.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.
-
-
-
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 interfaceFibRpcService
- Parameters:
input
- ofcreate-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 interfaceFibRpcService
- Parameters:
input
- ofremove-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
Invokepopulate-fib-on-dpn
RPC.Populates FIB table in specified DPN
- Specified by:
populateFibOnDpn
in interfaceFibRpcService
- Parameters:
input
- ofpopulate-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
Invokecleanup-dpn-for-vpn
RPC.Removes the VPN Fib entries in a given DPN
- Specified by:
cleanupDpnForVpn
in interfaceFibRpcService
- Parameters:
input
- ofcleanup-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)
-
-