Class VpnRpcServiceImpl
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnRpcServiceImpl
-
- All Implemented Interfaces:
VpnRpcService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class VpnRpcServiceImpl extends java.lang.Object implements VpnRpcService
-
-
Constructor Summary
Constructors Constructor Description VpnRpcServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IFibManager fibManager, IBgpManager bgpManager, IVpnManager vpnManager, InterVpnLinkCache interVpnLinkCache, VpnUtil vpnUtil, InterVpnLinkUtil interVpnLinkUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>>
addStaticRoute(AddStaticRouteInput input)
Creates a static route in a VPN, creating a new label if neededcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ApplyArpConfigOutput>>
applyArpConfig(ApplyArpConfigInput input)
To apply ARP/GARP related configuration per PLcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>>
generateVpnLabel(GenerateVpnLabelInput input)
Generate label for the given ip prefix from the associated VPN.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveStaticRouteOutput>>
removeStaticRoute(RemoveStaticRouteInput input)
Removes a static route in a VPN, identified by this vpn name, destination and nexthop.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveVpnLabelOutput>>
removeVpnLabel(RemoveVpnLabelInput input)
Remove label for the given ip prefix from the associated VPN.
-
-
-
Constructor Detail
-
VpnRpcServiceImpl
@Inject public VpnRpcServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IFibManager fibManager, IBgpManager bgpManager, IVpnManager vpnManager, InterVpnLinkCache interVpnLinkCache, VpnUtil vpnUtil, InterVpnLinkUtil interVpnLinkUtil)
-
-
Method Detail
-
generateVpnLabel
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>> generateVpnLabel(GenerateVpnLabelInput input)
Generate label for the given ip prefix from the associated VPN.- Specified by:
generateVpnLabel
in interfaceVpnRpcService
-
removeVpnLabel
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveVpnLabelOutput>> removeVpnLabel(RemoveVpnLabelInput input)
Remove label for the given ip prefix from the associated VPN.- Specified by:
removeVpnLabel
in interfaceVpnRpcService
-
addStaticRoute
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> addStaticRoute(AddStaticRouteInput input)
Description copied from interface:VpnRpcService
Creates a static route in a VPN, creating a new label if needed- Specified by:
addStaticRoute
in interfaceVpnRpcService
-
removeStaticRoute
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveStaticRouteOutput>> removeStaticRoute(RemoveStaticRouteInput input)
Description copied from interface:VpnRpcService
Removes a static route in a VPN, identified by this vpn name, destination and nexthop. Nextop is optional. If specified, the RPC will just remove one of the nexthops in the route (ECMP feature). If not specified, the whole route will be removed- Specified by:
removeStaticRoute
in interfaceVpnRpcService
-
applyArpConfig
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ApplyArpConfigOutput>> applyArpConfig(ApplyArpConfigInput input)
Description copied from interface:VpnRpcService
To apply ARP/GARP related configuration per PL- Specified by:
applyArpConfig
in interfaceVpnRpcService
-
-