Ovsdb-UI : Change icon and attempt to fix invisible vxlan
[netvirt.git] / ovsdb-ui / module / src / main / resources / ovsdb / ovsdb.constant.js
index cc1441dec6c88038d1ff8621f6bef6f14ecd3e1c..cc07e73ddec639f02a6c7259c45da5e51bd8cbbf 100644 (file)
@@ -1,4 +1,4 @@
-define(['app/ovsdb/ovsdb.module'], function(ovsdb) {
+define(['app/ovsdb/ovsdb.module'], function (ovsdb) {
 
   ovsdb.register.constant('nodeIdentifier', {
     IP: 'ip',
@@ -61,4 +61,12 @@ define(['app/ovsdb/ovsdb.module'], function(ovsdb) {
     ID: 'link-id',
     DEST: 'destination'
   });
+
+  ovsdb.register.constant('OVSConstant', {
+    TP_TYPE: {
+      INTERNAL: 'ovsdb:interface-type-internal',
+      VXLAN: 'ovsdb:interface-type-vxlan'
+    }
+  })
+
 });