xenserver: Rename cache file to ovs-vswitch.dbache, for consistency.
authorBen Pfaff <blp@nicira.com>
Fri, 5 Jun 2009 18:18:33 +0000 (11:18 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 5 Jun 2009 18:18:33 +0000 (11:18 -0700)
Fixes bug #1374.

xenserver/opt_xensource_libexec_interface-reconfigure
xenserver/vswitch-xen.spec

index 6ea369f..29d79ad 100755 (executable)
@@ -69,7 +69,7 @@ output_directory = None
 db = None
 management_pif = None
 
-dbcache_file = "/etc/vswitch.dbcache"
+dbcache_file = "/etc/ovs-vswitch.dbcache"
 vswitch_config_dir = "/etc/openvswitch"
 
 class Usage(Exception):
index 58e35de..4897669 100644 (file)
@@ -114,7 +114,7 @@ EOF
     fi
 fi
 
-if test ! -e /etc/vswitch.dbcache; then
+if test ! -e /etc/ovs-vswitch.dbcache; then
     if test "$1" = 1; then
         printf "Creating xapi database cache...  "
     else
@@ -141,7 +141,7 @@ try:
 finally:
     session.xenapi.session.logout()
 
-dbcache_file = "/etc/vswitch.dbcache"
+dbcache_file = "/etc/ovs-vswitch.dbcache"
 f = open(dbcache_file, 'w')
 pickle.dump({'vlans': vlans,
              'bonds': bonds,