Remove unused parameters
[netvirt.git] / vpnmanager / impl / src / main / java / org / opendaylight / netvirt / vpnmanager / VpnUtil.java
index 3795a9bc5bc435bd54ea42830f4d3db986fdad87..e210f4a6b97b75212077187c85ca219be322a84d 100755 (executable)
@@ -1328,7 +1328,7 @@ public final class VpnUtil {
     }
 
     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"
@@ -1346,7 +1346,7 @@ public final class VpnUtil {
     }
 
     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
@@ -1396,7 +1396,6 @@ public final class VpnUtil {
     }
 
     public static Optional<VpnPortipToPort> getRouterInterfaceForVpnInterface(DataBroker dataBroker,
-                                                                              String interfaceName,
                                                                               String vpnName,
                                                                               Uuid subnetUuid) {
         Optional<VpnPortipToPort> gwPortOptional = Optional.absent();
@@ -1504,7 +1503,7 @@ public final class VpnUtil {
 
     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
@@ -1855,7 +1854,7 @@ public final class VpnUtil {
     }
 
     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