Automatically print the console whenever the database was changed and we have been waiting for the reload to happen. This will cause all messages logged since the triggered reconfiguration to be printed to the console.
Signed-off-by: Thomas Graf <tg...@redhat.com> --- utilities/ovs-vsctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 8d85e75..14e582d 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -3815,6 +3815,7 @@ run_prerequisites(struct vsctl_command *commands, size_t n_commands, ovsdb_idl_add_table(idl, &ovsrec_table_open_vswitch); if (wait_for_reload) { ovsdb_idl_add_column(idl, &ovsrec_open_vswitch_col_cur_cfg); + ovsdb_idl_add_column(idl, &ovsrec_open_vswitch_col_console); } for (c = commands; c < &commands[n_commands]; c++) { if (c->syntax->prerequisites) { @@ -4001,7 +4002,8 @@ do_vsctl(const char *args, struct vsctl_command *commands, size_t n_commands, ovsdb_idl_wait(idl); poll_block(); } - done: ; + done: + show_console(ovs, false); } ovsdb_idl_destroy(idl); -- 1.7.11.7 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev