From 8de67146f837bec4f103607cc5e0c7020c79e444 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 20 Jun 2011 14:14:27 -0700 Subject: [PATCH] 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). --- ovsdb/ovsdb-doc.in | 2 ++ vswitchd/vswitch.xml | 7 +++---- 2 files changed, 5 insertions(+), 4 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'): 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.) -- 2.30.2