ovs-vsctl: Make waiting for ovs-vswitchd to reload work again.
authorBen Pfaff <blp@nicira.com>
Tue, 16 Nov 2010 20:23:12 +0000 (12:23 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 16 Nov 2010 20:23:12 +0000 (12:23 -0800)
Bug introduced in commit e5e12280e "ovs-vsctl: Replicate only tables and
columns that are actually needed."

Reported-by: Paul Ingram <paul@nicira.com>
utilities/ovs-vsctl.c

index ec1cfb3..43aeb01 100644 (file)
@@ -3042,6 +3042,9 @@ run_prerequisites(struct vsctl_command *commands, size_t n_commands,
     struct vsctl_command *c;
 
     ovsdb_idl_add_table(idl, &ovsrec_table_open_vswitch);
+    if (wait_for_reload) {
+        ovsdb_idl_add_column(idl, &ovsrec_open_vswitch_col_cur_cfg);
+    }
     for (c = commands; c < &commands[n_commands]; c++) {
         if (c->syntax->prerequisites) {
             struct vsctl_context ctx;