From: Ben Pfaff Date: Mon, 20 Jun 2011 21:14:27 +0000 (-0700) Subject: ovsdb-doc: Add support for references to specific keys. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de67146f837bec4f103607cc5e0c7020c79e444;p=openvswitch ovsdb-doc: Add support for references to specific keys. Now a specific key can be referenced with syntax like . Also fixes up an existing place that needed this feature already (and had a typo, too). --- 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'): diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 4288ee6b..3be4ccba 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -363,10 +363,9 @@ - Reports the OpenFlow datapath ID in use. Exactly 16 hex - digits. (Setting this column will have no useful effect. Set - :other-config - instead.) + Reports the OpenFlow datapath ID in use. Exactly 16 hex digits. + (Setting this column has no useful effect. Set instead.)