}
static Optional<IpAddress> getGatewayIpAddressFromInterface(String srcInterface,
- INeutronVpnManager neutronVpnService, DataBroker dataBroker) {
+ INeutronVpnManager neutronVpnService) {
Optional<IpAddress> gatewayIp = Optional.absent();
if (neutronVpnService != null) {
//TODO(Gobinath): Need to fix this as assuming port will belong to only one Subnet would be incorrect"
}
static Optional<String> getGWMacAddressFromInterface(MacEntry macEntry, IpAddress gatewayIp,
- DataBroker dataBroker, OdlInterfaceRpcService interfaceRpc) {
+ DataBroker dataBroker) {
Optional<String> gatewayMac = Optional.absent();
long vpnId = getVpnId(dataBroker, macEntry.getVpnName());
InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.id.to.vpn
}
public static Optional<VpnPortipToPort> getRouterInterfaceForVpnInterface(DataBroker dataBroker,
- String interfaceName,
String vpnName,
Uuid subnetUuid) {
Optional<VpnPortipToPort> gwPortOptional = Optional.absent();
static java.util.Optional<String> allocateRdForExtraRouteAndUpdateUsedRdsMap(
DataBroker dataBroker, long vpnId, @Nullable Long parentVpnId, String prefix, String vpnName,
- String nextHop, BigInteger dpnId, WriteTransaction writeOperTxn) {
+ String nextHop, BigInteger dpnId) {
//Check if rd is already allocated for this extraroute behind the same VM. If yes, reuse it.
//This is particularly useful during reboot scenarios.
java.util.Optional<String> allocatedRd = VpnExtraRouteHelper
}
public static boolean isAdjacencyEligibleToVpn(DataBroker dataBroker, Adjacency adjacency,
- String vpnName, String interfaceName) {
+ String vpnName) {
// returns true if BGPVPN Internet and adjacency is IPv6, false otherwise
boolean adjacencyEligible = true;
// if BGPVPN internet, return false if subnetmap has not internetVpnId() filled in