diff options
author | Russell Bryant <rbryant@redhat.com> | 2015-03-18 08:40:11 -0400 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-03-18 21:58:01 -0700 |
commit | c7ec11612f1dd9ffa69078b8390ac403c8291e7b (patch) | |
tree | e5c02218eb8cca2d12f444ab835d2529101913a7 /ovn | |
parent | 40cb2c3229a586cbc3c9792efe2a81f62dc52d95 (diff) | |
download | openvswitch-c7ec11612f1dd9ffa69078b8390ac403c8291e7b.tar.gz |
ovn: Add name column to logical switch table.
Add a name column the logical switch table of the ovn-nb database
schema. This column has no special meaning. Its purpose is only to
provide convenience for humans interacting with the ovn-nb database.
Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovn')
-rw-r--r-- | ovn/ovn-nb.ovsschema | 1 | ||||
-rw-r--r-- | ovn/ovn-nb.xml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index b45723cae..dfa7f8194 100644 --- a/ovn/ovn-nb.ovsschema +++ b/ovn/ovn-nb.ovsschema @@ -3,6 +3,7 @@ "tables": { "Logical_Switch": { "columns": { + "name": {"type": "string"}, "router_port": {"type": {"key": {"type": "uuid", "refTable": "Logical_Router_Port", "refType": "strong"}, diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index 9b245b1d5..f68bd717e 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -37,6 +37,15 @@ column="lswitch"/> column points to its row. </p> + <column name="name"> + <p> + A name for the logical switch. This name has no special meaning or purpose + other than to provide convenience for human interaction with the ovn-nb + database. There is no requirement for the name to be unique. The + logical switch's UUID should be used as the unique identifier. + </p> + </column> + <column name="router_port"> <p> The router port to which this logical switch is connected, or empty if |