public interface IVpnManager
Modifier and Type | Method and Description |
---|---|
void |
addExtraRoute(String vpnName,
String destination,
String nextHop,
String rd,
String routerID,
int label,
RouteOrigin origin) |
void |
delExtraRoute(String vpnName,
String destination,
String nextHop,
String rd,
String routerID) |
boolean |
existsVpn(String vpnName)
Returns true if the specified VPN exists.
|
List<BigInteger> |
getDpnsOnVpn(String vpnInstanceName)
Retrieves the list of DPNs where the specified VPN has footprint.
|
List<org.opendaylight.genius.mdsalutil.MatchInfoBase> |
getEgressMatchesForVpn(String vpnName) |
VpnPortipToPort |
getNeutronPortFromVpnPortFixedIp(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
String vpnName,
String fixedIp) |
String |
getPrimaryRdFromVpnInstance(VpnInstance vpnInstance) |
VpnInstance |
getVpnInstance(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
String vpnInstanceName) |
String |
getVpnRd(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
String vpnName) |
boolean |
isVPNConfigured() |
void |
onSubnetAddedToVpn(Subnetmap subnetmap,
boolean isBgpVpn,
Long elanTag) |
void |
onSubnetDeletedFromVpn(Subnetmap subnetmap,
boolean isBgpVpn) |
void |
setupArpResponderFlowsToExternalNetworkIps(String id,
Collection<String> fixedIps,
String routerGwMac,
BigInteger dpnId,
long vpnId,
String extInterfaceName,
int lportTag,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx,
int addOrRemove) |
void |
setupArpResponderFlowsToExternalNetworkIps(String id,
Collection<String> fixedIps,
String macAddress,
BigInteger dpnId,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx,
int addOrRemove) |
void |
setupRouterGwMacFlow(String routerName,
String routerGwMac,
BigInteger dpnId,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId,
String subnetVpnName,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx,
int addOrRemove) |
void |
setupSubnetMacIntoVpnInstance(String vpnName,
String subnetVpnName,
String srcMacAddress,
BigInteger dpnId,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx,
int addOrRemove) |
void addExtraRoute(String vpnName, String destination, String nextHop, String rd, String routerID, int label, RouteOrigin origin)
void delExtraRoute(String vpnName, String destination, String nextHop, String rd, String routerID)
boolean existsVpn(String vpnName)
vpnName
- it must match against the vpn-instance-name attrib in one of the VpnInstancesboolean isVPNConfigured()
List<BigInteger> getDpnsOnVpn(String vpnInstanceName)
vpnInstanceName
- The name of the Vpn instanceString getPrimaryRdFromVpnInstance(VpnInstance vpnInstance)
void setupSubnetMacIntoVpnInstance(String vpnName, String subnetVpnName, String srcMacAddress, BigInteger dpnId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx, int addOrRemove)
void setupRouterGwMacFlow(String routerName, String routerGwMac, BigInteger dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId, String subnetVpnName, org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx, int addOrRemove)
void setupArpResponderFlowsToExternalNetworkIps(String id, Collection<String> fixedIps, String macAddress, BigInteger dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId, org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx, int addOrRemove)
void setupArpResponderFlowsToExternalNetworkIps(String id, Collection<String> fixedIps, String routerGwMac, BigInteger dpnId, long vpnId, String extInterfaceName, int lportTag, org.opendaylight.controller.md.sal.binding.api.WriteTransaction writeTx, int addOrRemove)
void onSubnetDeletedFromVpn(Subnetmap subnetmap, boolean isBgpVpn)
List<org.opendaylight.genius.mdsalutil.MatchInfoBase> getEgressMatchesForVpn(String vpnName)
VpnInstance getVpnInstance(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, String vpnInstanceName)
String getVpnRd(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, String vpnName)
VpnPortipToPort getNeutronPortFromVpnPortFixedIp(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, String vpnName, String fixedIp)
Copyright © 2018 OpenDaylight. All rights reserved.