[ovs-dev] [PATCH 3/3] ovs-vsctl: Add error column to show command
Thomas Graf
tgraf at redhat.com
Thu Apr 10 10:50:11 UTC 2014
a425a102-c317-4743-b0ba-79d59ff04a74
Bridge "br0"
[...]
Port test
Interface test
type: vxlan
options: {unknown="1"}
error: "test: could not set configuration (Invalid argument)"
ovs_version: "2.1.90"
Signed-off-by: Thomas Graf <tgraf at redhat.com>
---
NEWS | 2 ++
utilities/ovs-vsctl.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/NEWS b/NEWS
index 7925598..ce61d5b 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ Post-v2.1.0
configured properly.
- ovs-vsctl now reports when ovs-vswitchd fails to create a new port or
bridge.
+ - Port creation and configuration errors are now stored in a new error
+ column of the Interface table and included in 'ovs-vsctl show'.
- The "ovsdbmonitor" graphical tool has been removed, because it was
poorly maintained and not widely used.
- New "check-ryu" Makefile target for running Ryu tests for OpenFlow
diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c
index 4fcee77..37d8b3c 100644
--- a/utilities/ovs-vsctl.c
+++ b/utilities/ovs-vsctl.c
@@ -1326,7 +1326,7 @@ static struct cmd_show_table cmd_show_tables[] = {
&ovsrec_interface_col_name,
{&ovsrec_interface_col_type,
&ovsrec_interface_col_options,
- NULL},
+ &ovsrec_interface_col_error},
false},
{&ovsrec_table_controller,
--
1.8.3.1
More information about the dev
mailing list