Added patch interface add and remove behavior, and implemented OVSDB driver
Change-Id: Ic7632906fcfe50ec224fabdc15cb902a70150fae
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java b/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
index 47f6100..6c20a96 100644
--- a/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
+++ b/core/api/src/main/java/org/onosproject/net/behaviour/InterfaceConfig.java
@@ -142,6 +142,23 @@
boolean removeTunnelMode(String intf);
/**
+ * Adds a patch mode to the supplied interface.
+ *
+ * @param ifaceName interface name to set patch mode
+ * @param patchInterface interface description
+ * @return true if the operation succeeds
+ */
+ boolean addPatchMode(String ifaceName, PatchDescription patchInterface);
+
+ /**
+ * Removes a patch mode from the supplied interface.
+ *
+ * @param ifaceName interface name
+ * @return true if the operation succeeds
+ */
+ boolean removePatchMode(String ifaceName);
+
+ /**
* Provides the interfaces configured on a device.
*
* @param deviceId the device ID