summaryrefslogtreecommitdiff
path: root/ovn
diff options
context:
space:
mode:
Diffstat (limited to 'ovn')
-rw-r--r--ovn/ovn-nb.ovsschema1
-rw-r--r--ovn/ovn-nb.xml9
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