@@ -1,6 +1,6 @@
{
"name": "hardware_vtep",
- "cksum": "1621458335 10585",
+ "cksum": "918621225 11113",
"tables": {
"Global": {
"columns": {
@@ -28,6 +28,9 @@
"tunnels": {
"type": {"key": {"type": "uuid", "refTable": "Tunnel"},
"min": 0, "max": "unlimited"}},
+ "other_config": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}},
"switch_fault_status": {
"type": {
"key": "string", "min": 0, "max": "unlimited"},
@@ -54,6 +57,9 @@
"refTable": "Logical_Binding_Stats"},
"min": 0, "max": "unlimited"},
"ephemeral": true},
+ "other_config": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}},
"port_fault_status": {
"type": {
"key": "string", "min": 0, "max": "unlimited"},
@@ -89,7 +95,10 @@
"columns": {
"name": {"type": "string"},
"description": {"type": "string"},
- "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}}},
+ "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}},
+ "other_config": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}}},
"isRoot": true,
"indexes": [["name"]]},
"Ucast_Macs_Local": {
@@ -154,6 +163,9 @@
"value": {"type": "uuid",
"refTable": "ACL"},
"min": 0, "max": "unlimited"}},
+ "other_config": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}},
"LR_fault_status": {
"type": {
"key": "string", "min": 0, "max": "unlimited"},
@@ -31,6 +31,27 @@
</dd>
</dl>
+ <h2>Common Column</h2>
+
+ <p>
+ Some tables contain a column, named <code>other_config</code>.
+ This column has the same form and purpose each place that it appears,
+ so we describe it here to save space later.
+ </p>
+
+ <dl>
+ <dt><code>other_config</code>: map of string-string pairs</dt>
+ <dd>
+ <p>
+ Key-value pairs for configuring rarely used or proprietary
features.
+ </p>
+ <p>
+ Some tables do not have <code>other_config</code> column because no
+ key-value pairs have yet been defined for them.
+ </p>
+ </dd>
+ </dl>
+
<table name="Global" title="Top-level configuration.">
Top-level configuration for a hardware VTEP. There must be
Having an other_config column is a simple way to pass more information than the schema allows. Signed-off-by: Saurabh Shrivastava <saurabh.shrivastava@nuagenetworks.net> --- vtep/vtep.ovsschema | 16 ++++++++++++++-- vtep/vtep.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 2 deletions(-) exactly one record in the <ref table="Global"/> table. @@ -336,8 +357,15 @@ Indicates that an error has occurred in the switch but that no more specific information is available. </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="Tunnel" title="A tunnel created by a physical switch."> @@ -625,6 +653,13 @@ </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="Logical_Binding_Stats" title="Statistics for a VLAN on a physical port bound to a logical network."> @@ -729,6 +764,14 @@ login banner. </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="Ucast_Macs_Local" title="Unicast MACs (local)"> @@ -941,6 +984,13 @@ </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="Arp_Sources_Local" title="ARP source addresses for logical routers">