[ovs-git] Open vSwitch: ovs-vsctl: Improve error message for "ovs-vsctl del-port <bridge>". (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jun 20 06:04:55 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  89f3c258fe969df2fde29c21423cd705f4d8b472 (commit)
      from  1dd35f8afe13fe2e9144052b2d61086e5be6e448 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89f3c258fe969df2fde29c21423cd705f4d8b472
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=89f3c258fe969df2fde29c21423cd705f4d8b472
Author: Ben Pfaff <blp at nicira.com>
		
ovs-vsctl: Improve error message for "ovs-vsctl del-port <bridge>".
		
Previously, commands like this:
    ovs-vsctl add-br br0
    ovs-vsctl del-port br0
yielded an error message like:
    no port named br0
which is confusing.  This commit improves the error message to:
    cannot delete port br0 because it is the local port for bridge br0
    (deleting this port requires deleting the entire bridge)

Bug #17994.
Reported-by: Reid Price <reid at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 tests/ovs-vsctl.at    |    6 +++++-
 utilities/ovs-vsctl.c |   10 +++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list