ovs-vsctl: Add error column to show command
authorThomas Graf <tgraf@redhat.com>
Thu, 10 Apr 2014 10:50:11 +0000 (12:50 +0200)
committerBen Pfaff <blp@nicira.com>
Mon, 19 May 2014 22:43:18 +0000 (15:43 -0700)
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@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
utilities/ovs-vsctl.c

diff --git a/NEWS b/NEWS
index ebf3979..82a61e1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,8 @@ v2.2.0 - Internal Release
      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
index 4fcee77..37d8b3c 100644 (file)
@@ -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,