Skip to content

Commit

Permalink
vtep: Add other_config to Global table.
Browse files Browse the repository at this point in the history
Extend the Global table to allow for additional configurations by re-using
the idea of an other_config column.

Signed-off-by: Dennis Sam <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
dsam-Arista authored and blp committed May 17, 2016
1 parent 4106e01 commit ff35498
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vtep/vtep.ovsschema
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hardware_vtep",
"cksum": "4127261095 11302",
"cksum": "353943336 11434",
"tables": {
"Global": {
"columns": {
Expand All @@ -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,
Expand Down Expand Up @@ -301,4 +304,4 @@
"ephemeral": true}},
"indexes": [["target"]],
"isRoot": false}},
"version": "1.6.0"}
"version": "1.7.0"}
8 changes: 8 additions & 0 deletions vtep/vtep.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.">
Expand Down

0 comments on commit ff35498

Please sign in to comment.