From 1129ecfd70d64f95ac63ca4e91c3d2c5d4782b6e Mon Sep 17 00:00:00 2001
From: Gal Sagie <gal.sa...@gmail.com>
Date: Tue, 21 Jul 2015 09:11:12 +0300
Subject: [PATCH] [ovn] Add 'name' field to logical router port NB schema

Signed-off-by: Gal Sagie <gal.sa...@gmail.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 40bba97..508b6cd 100644
--- a/ovn/ovn-nb.ovsschema
+++ b/ovn/ovn-nb.ovsschema
@@ -72,6 +72,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 59ec3d2..032e23d 100644
--- a/ovn/ovn-nb.xml
+++ b/ovn/ovn-nb.xml
@@ -308,6 +308,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 address of the router and the netmask.  For example,
       <code>192.168.0.1/24</code> indicates that the router's IP address is
-- 
2.1.0
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to