diff options
author | Ben Pfaff <blp@nicira.com> | 2011-06-20 14:14:27 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-06-21 13:01:55 -0700 |
commit | 8de67146f837bec4f103607cc5e0c7020c79e444 (patch) | |
tree | 196264a38eb6f35134a2eb41191c0b5e3f0af111 /ovsdb | |
parent | 27a325164faa2539ce9b713a250fc3c5a7f2e40d (diff) |
ovsdb-doc: Add support for references to specific keys.
Now a specific key can be referenced with syntax like
<ref table="Bridge" column="other-config" key="datapath-id"/>.
Also fixes up an existing place that needed this feature already (and had
a typo, too).
Diffstat (limited to 'ovsdb')
-rwxr-xr-x | 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 b325b263..43dda5e0 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -52,6 +52,8 @@ def inlineXmlToNroff(node, font): s = r'\fB' if node.hasAttribute('column'): s += node.attributes['column'].nodeValue + if node.hasAttribute('key'): + s += ':' + node.attributes['key'].nodeValue elif node.hasAttribute('table'): s += node.attributes['table'].nodeValue elif node.hasAttribute('group'): |