Merge "Fix for BUG 3623"
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / java / org / opendaylight / vpnservice / interfacemgr / interfaces / IInterfaceManager.java
index 69be7cfeb4528e4e7b0dc890960a577b38b13060..8ef4efdb474a82d5f24e019faf2466201d0d0ae8 100644 (file)
@@ -8,6 +8,9 @@
 
 package org.opendaylight.vpnservice.interfacemgr.interfaces;
 
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface;
+
+import java.math.BigInteger;
 import java.util.List;
 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
 import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
@@ -15,9 +18,11 @@ import org.opendaylight.vpnservice.mdsalutil.MatchInfo;
 public interface IInterfaceManager {
 
     public Long getPortForInterface(String ifName);
-    public long getDpnForInterface(String ifName);
-    public String getEndpointIpForDpn(long dpnId);
+    public BigInteger getDpnForInterface(String ifName);
+    public BigInteger getDpnForInterface(Interface intrf);
+    public String getEndpointIpForDpn(BigInteger dpnId);
     public List<MatchInfo> getInterfaceIngressRule(String ifName);
     public List<ActionInfo> getInterfaceEgressActions(String ifName);
+    public Long getPortForInterface(Interface intf);
 
 }
\ No newline at end of file