[ONOS-6519] Supporting OVS DPDK, and PICA8 OVS interface creation & MTU setting

Change-Id: Icee3f9c6cf430d952acc7bfebd82cfa6d94b0e63
diff --git a/protocols/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/driver/DefaultOvsdbClient.java b/protocols/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/driver/DefaultOvsdbClient.java
index 2ed28f7..0ed4663 100644
--- a/protocols/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/driver/DefaultOvsdbClient.java
+++ b/protocols/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/driver/DefaultOvsdbClient.java
@@ -1025,7 +1025,16 @@
         // insert an interface
         Interface intf = (Interface) TableGenerator.createTable(dbSchema, OvsdbTable.INTERFACE);
         intf.setName(ovsdbIface.name());
+
         intf.setType(ovsdbIface.typeToString());
+
+        if (ovsdbIface.mtu().isPresent()) {
+            Set<Long> mtuSet = Sets.newConcurrentHashSet();
+            mtuSet.add(ovsdbIface.mtu().get());
+            intf.setMtu(mtuSet);
+            intf.setMtuRequest(mtuSet);
+        }
+
         intf.setOptions(ovsdbIface.options());
         Insert intfInsert = new Insert(dbSchema.getTableSchema(INTERFACE), INTERFACE, intf.getRow());
         operations.add(intfInsert);