docs: Consistently suggest /etc/openvswitch/conf.db as location for db.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Feb 2011 21:20:27 +0000 (13:20 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Feb 2011 21:20:27 +0000 (13:20 -0800)
Our Debian and XenServer packages use /etc/openvswitch/conf.db as the
location for the database but some of the docs suggested
/etc/ovs-vswitchd.conf.db.  This settles on the former consistently.
The manpage is still ovs-vswitchd.conf.db but I don't know what to do
about that.

INSTALL.Linux
REPORTING-BUGS

index f80e1c6..9d69bd8 100644 (file)
@@ -240,7 +240,8 @@ Prerequisites section, follow the procedure below to build.
 
 7. Initialize the configuration database using ovsdb-tool, e.g.:
 
-      % ovsdb-tool create /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema
+      % mkdir -p /usr/local/etc/openvswitch
+      % ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
 
 Startup
 =======
@@ -253,7 +254,7 @@ installation, above, to listen on a Unix domain socket, to connect to
 any managers specified in the database itself, and to use the SSL
 configuration in the database:
 
-      % ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db \
+      % ovsdb-server /usr/local/etc/openvswitch/conf.db \
                       --remote=punix:/usr/local/var/run/openvswitch/db.sock \
                       --remote=db:Open_vSwitch,managers \
                       --private-key=db:SSL,private_key \
@@ -305,7 +306,7 @@ also upgrade the database schema:
       - If you want to preserve the contents of your database, back it
         up first, then use "ovsdb-tool convert" to upgrade it, e.g.:
 
-        % ovsdb-tool convert /usr/local/etc/ovs-vswitchd.conf.db vswitchd/vswitch.ovsschema
+        % ovsdb-tool convert /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
 
 4. Start the Open vSwitch daemons as described under "Building and
    Installing Open vSwitch for Linux" above.
index 812bfba..86510d2 100644 (file)
@@ -32,7 +32,7 @@ The following are also handy sometimes:
           your OS (e.g. "Centos 5.0").
 
         * The contents of the vswitchd configuration database (usually
-          /etc/ovs-vswitchd.conf.db).
+          /etc/openvswitch/conf.db).
 
         * The output of "ovs-dpctl show".