diff options
author | Ben Pfaff <blp@ovn.org> | 2018-05-17 14:20:15 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-05-25 14:26:03 -0700 |
commit | 9a6b89611838ce8677a0a95b23b56a8c740692cd (patch) | |
tree | ac171cd7a7b995cf3693633647aeed44373d13b2 /Documentation/ref | |
parent | 15f6255fdd0df369909ab8e524d0d174537b2a65 (diff) | |
download | openvswitch-9a6b89611838ce8677a0a95b23b56a8c740692cd.tar.gz |
ovs-sim: Support backup and clustered databases for ovn.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'Documentation/ref')
-rw-r--r-- | Documentation/ref/ovs-sim.1.rst | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Documentation/ref/ovs-sim.1.rst b/Documentation/ref/ovs-sim.1.rst index 12e7f63f7..51a415fba 100644 --- a/Documentation/ref/ovs-sim.1.rst +++ b/Documentation/ref/ovs-sim.1.rst @@ -147,12 +147,32 @@ OVN Commands These commands interact with OVN, the Open Virtual Network. -``ovn_start`` +``ovn_start`` [*options*] Creates and initializes the central OVN databases (both ``ovn-sb(5)`` and ``ovn-nb(5)``) and starts an instance of ``ovsdb-server`` for each one. Also starts an instance of ``ovn-northd``. + The following options are available: + + ``--nbdb-model`` *model* + Uses the given database model for the northbound database. + The *model* may be ``standalone`` (the default), ``backup``, + or ``clustered``. + + ``--nbdb-servers`` *n* + For a clustered northbound database, the number of servers in + the cluster. The default is 3. + + ``--sbdb-model`` *model* + Uses the given database model for the southbound database. + The *model* may be ``standalone`` (the default), ``backup``, + or ``clustered``. + + ``--sbdb-servers`` *n* + For a clustered southbound database, the number of servers in + the cluster. The default is 3. + ``ovn_attach`` *network* *bridge* *ip* [*masklen*] First, this command attaches bridge to interconnection network network, just like ``net_attach`` *network* *bridge*. Second, it @@ -195,7 +215,7 @@ Here’s a primitive OVN "scale test" (adjust the scale by changing ``n`` in the first line:: n=200; export n - ovn_start + ovn_start --sbdb-model=clustered net_add n1 ovn-nbctl ls-add br0 for i in `seq $n`; do |