[ovs-dev] ovn-nb - Add 'name' to logical router port
Gal Sagie
gal.sagie at gmail.com
Thu Jul 16 20:23:56 UTC 2015
Similar to logical port, its convinent to use a 'name'
field for the logical router port
Signed-off-by: Gal Sagie <gal.sagie at g <gal.sagie at huawei.com>mail.com>
---
ovn/ovn-nb.ovsschema | 1 +
ovn/ovn-nb.xml | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema
index 8fe378a..c5e7009 100644
--- a/ovn/ovn-nb.ovsschema
+++ b/ovn/ovn-nb.ovsschema
@@ -73,6 +73,7 @@
"isRoot": true},
"Logical_Router_Port": {
"columns": {
+ "name": {"type": "string"},
"network": {"type": "string"},
"mac": {"type": "string"},
"external_ids": {
diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml
index 266e6a4..083701e 100644
--- a/ovn/ovn-nb.xml
+++ b/ovn/ovn-nb.xml
@@ -315,6 +315,15 @@
the router port.
</p>
+ <column name="name">
+ <p>
+ A name for the logical router port. 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 router port's UUID should be used as the unique identifier.
+ </p>
+ </column>
+
<column name="network">
The IP network and netmask of the network on the router port. Used
for
routing.
--
2.1.0
More information about the dev
mailing list