[ovs-dev] [PATCH 2/2] Implement database schema versioning.
Justin Pettit
jpettit at nicira.com
Mon Dec 27 21:43:49 UTC 2010
On Dec 22, 2010, at 12:51 PM, Ben Pfaff wrote:
> @@ -1344,6 +1352,7 @@ do_help(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
> static const struct command all_commands[] = {
> { "list-dbs", 1, 1, do_list_dbs },
> { "get-schema", 2, 2, do_get_schema },
> + { "get-schema-version", 2, 2, do_get_schema_version },
> { "list-tables", 2, 2, do_list_tables },
> { "list-columns", 2, 3, do_list_columns },
> { "transact", 2, 2, do_transact },
Did you want to add "get-schema-version" to the usage output?
> - $vsctl --no-wait --timeout=5 init
> + $vsctl --no-wait --timeout=5 init -- set Open_vSwitch . db-version="$schemaver"
For ease of grep'ing, do you think it's worth using "_" instead of "-" in "db-version"?
--Justin
More information about the dev
mailing list