Merge "Initial checkin for ITM module"
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / java / org / opendaylight / vpnservice / interfacemgr / interfaces / IInterfaceManager.java
index 95d1323bbb41411bcb95d3828f4c19576ca5586b..f3ba03d3cfd0723b270433ea26f431f47cfa4b0d 100644 (file)
@@ -1,13 +1,37 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
 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;
 
+@Deprecated
 public interface IInterfaceManager {
-
+    @Deprecated
     public Long getPortForInterface(String ifName);
-    public long getDpnForInterface(String ifName);
-    public String getEndpointIpForDpn(long dpnId);
-    public List<MatchInfo> getInterfaceIngressRule(String ifName);
 
+    @Deprecated
+    public BigInteger getDpnForInterface(String ifName);
+
+    @Deprecated
+    public BigInteger getDpnForInterface(Interface intrf);
+
+    @Deprecated
+    public String getEndpointIpForDpn(BigInteger dpnId);
+
+    @Deprecated
+    public List<ActionInfo> getInterfaceEgressActions(String ifName);
+
+    @Deprecated
+    public Long getPortForInterface(Interface intf);
 }
\ No newline at end of file