[ovs-dev] [PATCH] utilities: Wrong command syntax in ovs-vsctl manpage.

Daniele Venturino daniele.venturino at m3s.it
Wed Jan 8 15:40:50 UTC 2014


The command shown in the man page to disable the STP protocol on a bridge is:

	ovs-vsctl clear Bridge br0 stp_enable

Calling that, the following warning message is returned:

	ovs-vsctl: "clear" operation cannot be applied to column stp_enable of table 
	Bridge,  which is not allowed to be empty

It seems correct to use the command:

	ovs-vsctl set Bridge br0 stp_enable=false

Signed-off by: Daniele Venturino <daniele.venturino at m3s.it>
---
utilities/ovs-vsctl.8.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in
index 2223d04..5db0a70 100644
--- a/utilities/ovs-vsctl.8.in
+++ b/utilities/ovs-vsctl.8.in
@@ -965,7 +965,7 @@ Set the path cost of port \fBeth0\fR to 10:
.PP
Deconfigure STP from above:
.IP
-.B "ovs\-vsctl clear Bridge br0 stp_enable"
+.B "ovs\-vsctl set Bridge br0 stp_enable=false"
.PP
.SS "OpenFlow Version"
.PP
-- 
1.8.1.2




More information about the dev mailing list