Extend the Global table to allow for additional configurations by re-using
the idea of an other_config column.

Signed-off-by: Dennis Sam <d...@arista.com>
---
 vtep/vtep.ovsschema | 7 +++++--
 vtep/vtep.xml       | 8 ++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/vtep/vtep.ovsschema b/vtep/vtep.ovsschema
index 533fd2e..799d760 100644
--- a/vtep/vtep.ovsschema
+++ b/vtep/vtep.ovsschema
@@ -1,6 +1,6 @@
 {
   "name": "hardware_vtep",
-  "cksum": "770244945 11113",
+  "cksum": "841956498 11245",
   "tables": {
     "Global": {
       "columns": {
@@ -10,6 +10,9 @@
                    "min": 0, "max": "unlimited"}},
         "switches": {
           "type": {"key": {"type": "uuid", "refTable": "Physical_Switch"},
+                   "min": 0, "max": "unlimited"}},
+        "other_config": {
+          "type": {"key": "string", "value": "string",
                    "min": 0, "max": "unlimited"}}
       },
       "maxRows": 1,
@@ -296,4 +299,4 @@
           "ephemeral": true}},
       "indexes": [["target"]],
       "isRoot": false}},
-  "version": "1.5.1"}
+  "version": "1.5.2"}
diff --git a/vtep/vtep.xml b/vtep/vtep.xml
index a3a6988..39d9bd3 100644
--- a/vtep/vtep.xml
+++ b/vtep/vtep.xml
@@ -88,6 +88,14 @@
         table for more information.
       </column>
     </group>
+
+    <group title="Common Column">
+      The overall purpose of this column is described under <code>Common
+      Column</code> at the beginning of this document.
+
+      <column name="other_config"/>
+    </group>
+
   </table>
 
   <table name="Manager" title="OVSDB management connection.">
-- 
1.8.1.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to