ovsdb-doc: Document immutable columns.
authorBen Pfaff <blp@nicira.com>
Tue, 8 Oct 2013 22:22:20 +0000 (15:22 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Oct 2013 22:22:20 +0000 (15:22 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ovsdb/ovsdb-doc

index 662ed97..46f1101 100755 (executable)
@@ -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)]