Working with OVS
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / java / org / opendaylight / vpnservice / interfacemgr / interfaces / IInterfaceManager.java
index bda2d8c0c0757b9d088d5c2154b6bf543a324c49..64c98b9f2e189f65cdf83019fbb0aaf1014d5106 100644 (file)
@@ -1,7 +1,41 @@
+/*
+ * 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);
+
+    @Deprecated
+    public BigInteger getDpnForInterface(String ifName);
+
+    @Deprecated
+    public BigInteger getDpnForInterface(Interface intrf);
+
+    @Deprecated
+    public String getEndpointIpForDpn(BigInteger dpnId);
+
+    @Deprecated
+    public List<MatchInfo> getInterfaceIngressRule(String ifName);
+
+    @Deprecated
+    public List<ActionInfo> getInterfaceEgressActions(String ifName);
 
-    public void testApi();
+    @Deprecated
+    public Long getPortForInterface(Interface intf);
 
 }
\ No newline at end of file