HwVTEP support for interfacemanager
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / java / org / opendaylight / vpnservice / interfacemgr / interfaces / IInterfaceManager.java
index c79b1d25593c2bc1537e95b1d7205af0f48f1a55..a1592937142cca6bb2dcca3de9efc24e3c16e4bc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright (c) 2015 - 2016 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,
@@ -11,9 +11,13 @@ package org.opendaylight.vpnservice.interfacemgr.interfaces;
 import java.math.BigInteger;
 import java.util.List;
 
+import org.opendaylight.vpnservice.interfacemgr.exceptions.InterfaceAlreadyExistsException;
 import org.opendaylight.vpnservice.interfacemgr.globals.InterfaceInfo;
 import org.opendaylight.vpnservice.mdsalutil.ActionInfo;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.servicebinding.rev151015.service.bindings.ServicesInfo;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.servicebinding.rev151015.service.bindings.services.info.BoundServices;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.interfacemgr.rev150331.IfL2vlan;
 
 @Deprecated
 public interface IInterfaceManager {
@@ -38,4 +42,12 @@ public interface IInterfaceManager {
     public InterfaceInfo getInterfaceInfo(String intInfo);
 
     public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName, InterfaceInfo.InterfaceType interfaceType);
+    public InterfaceInfo getInterfaceInfoFromOperationalDataStore(String interfaceName);
+
+    public void createVLANInterface(String interfaceName, String portName, BigInteger dpId,  Integer vlanId,
+                             String description, IfL2vlan.L2vlanMode l2vlanMode);
+    public void bindService(String interfaceName, BoundServices serviceInfo);
+    public void unbindService(String interfaceName, BoundServices serviceInfo);
+    List<Interface> getVlanInterfaces();
+    List<Interface> getVxlanInterfaces();
 }
\ No newline at end of file