@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 VpnRpcService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeVpnLabel(RemoveVpnLabelInput input)
removeVpnLabel
in interface VpnRpcService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<AddStaticRouteOutput>> addStaticRoute(AddStaticRouteInput input)
VpnRpcService
addStaticRoute
in interface VpnRpcService
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> removeStaticRoute(RemoveStaticRouteInput input)
VpnRpcService
removeStaticRoute
in interface VpnRpcService
Copyright © 2019 OpenDaylight. All rights reserved.