@Singleton public class VpnRpcServiceImpl extends Object implements VpnRpcService
| Constructor and Description |
|---|
VpnRpcServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager,
IFibManager fibManager,
IBgpManager bgpManager,
IVpnManager vpnManager,
InterVpnLinkCache interVpnLinkCache) |
| Modifier and Type | Method and Description |
|---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> |
addStaticRoute(AddStaticRouteInput input)
Creates a static route in a VPN, creating a new label if needed
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>> |
generateVpnLabel(GenerateVpnLabelInput input)
Generate label for the given ip prefix from the associated VPN.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
removeStaticRoute(RemoveStaticRouteInput input)
Removes a static route in a VPN, identified by this vpn name, destination and
nexthop.Nextop is optional.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
removeVpnLabel(RemoveVpnLabelInput input)
Remove label for the given ip prefix from the associated VPN.
|
@Inject
public VpnRpcServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager,
IFibManager fibManager,
IBgpManager bgpManager,
IVpnManager vpnManager,
InterVpnLinkCache interVpnLinkCache)
public Future<org.opendaylight.yangtools.yang.common.RpcResult<GenerateVpnLabelOutput>> generateVpnLabel(GenerateVpnLabelInput input)
generateVpnLabel in interface VpnRpcServicepublic Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeVpnLabel(RemoveVpnLabelInput input)
removeVpnLabel in interface VpnRpcServicepublic Future<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> addStaticRoute(AddStaticRouteInput input)
VpnRpcServiceaddStaticRoute in interface VpnRpcServicepublic Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeStaticRoute(RemoveStaticRouteInput input)
VpnRpcServiceremoveStaticRoute in interface VpnRpcServiceCopyright © 2019 OpenDaylight. All rights reserved.