diff options
author | Ben Pfaff <blp@nicira.com> | 2013-10-08 15:22:20 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-10-08 15:22:20 -0700 |
commit | c4454e890796e06df34b7846520c05af46c7d9fc (patch) | |
tree | 7f4a5e502363458c8323118ab8a944abe3391f91 /ovsdb/ovsdb-doc | |
parent | 61d68589ec8f8e83023818a9bd8eb27f5a95d5c7 (diff) | |
download | openvswitch-c4454e890796e06df34b7846520c05af46c7d9fc.tar.gz |
ovsdb-doc: Document immutable columns.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'ovsdb/ovsdb-doc')
-rwxr-xr-x | ovsdb/ovsdb-doc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-doc b/ovsdb/ovsdb-doc index 662ed974a..46f1101a8 100755 --- a/ovsdb/ovsdb-doc +++ b/ovsdb/ovsdb-doc @@ -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)] |