[ovs-dev] [PATCH] ovsdb-doc: Document immutable columns.

Ben Pfaff blp at nicira.com
Mon Jan 7 22:02:42 UTC 2013


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 ovsdb/ovsdb-doc.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in
index aa4fae2..b328326 100755
--- a/ovsdb/ovsdb-doc.in
+++ b/ovsdb/ovsdb-doc.in
@@ -212,6 +212,8 @@ def columnGroupToNroff(table, groupXml):
             else:
                 nameNroff = name
                 typeNroff = typeAndConstraintsToNroff(column)
+            if not column.mutable:
+                typeNroff = "immutable %s" % typeNroff
             body += '.IP "\\fB%s\\fR: %s"\n' % (nameNroff, typeNroff)
             body += blockXmlToNroff(node.childNodes, '.IP') + "\n"
             summary += [('column', nameNroff, typeNroff)]
-- 
1.7.2.5




More information about the dev mailing list