diff options
author | aginwala <amginwal@gmail.com> | 2018-04-11 17:43:01 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-04-18 16:23:16 -0700 |
commit | 78bc7b2467a333f06aa480625f86e39839c1eb71 (patch) | |
tree | 9948960b34645eac36d7b00e51106bb487847a48 /tutorial | |
parent | 61845323cf3d996a64230aaba8443ccd7337d803 (diff) | |
download | openvswitch-78bc7b2467a333f06aa480625f86e39839c1eb71.tar.gz |
tutorial: skip passing .db for backup option for ovn_start_ovsdb_server:
current params uses two sb1.db which is redundant:
e.g. ovsdb-server --remote=punix:sb1.ovsdb sb1.db sb1.db
expected:
e.g. ovsdb-server --remote=punix:sb1.ovsdb sb1.db
tested and works as expected:
ovn-sbctl --db=unix:/root/ovs/tutorial/sandbox/sb2.ovsdb show
Chassis "chassis-1"
hostname: sandbox
Encap geneve
ip: "127.0.0.1"
options: {csum="true"}
Signed-off-by: aginwala <aginwala@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tutorial')
-rwxr-xr-x | tutorial/ovs-sandbox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox index 7a9c19539..feba57893 100755 --- a/tutorial/ovs-sandbox +++ b/tutorial/ovs-sandbox @@ -436,7 +436,7 @@ if $ovn; then for i in 1 2; do run ovsdb-tool create $db$i.db "$schema" done - ovn_start_ovsdb_server 1 ${db}1.db + ovn_start_ovsdb_server 1 ovn_start_ovsdb_server 2 --sync-from=unix:${db}1.ovsdb remote=unix:${db}1.ovsdb backup_note="$backup_note |