From: Ben Pfaff Date: Tue, 26 Jan 2010 19:46:43 +0000 (-0800) Subject: Fix references to vswitch-idl.ovsschema to refer to vswitch.ovsschema. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f78b38e9011df32e9e5931a02ade5c5f2106e10d;p=openvswitch Fix references to vswitch-idl.ovsschema to refer to vswitch.ovsschema. --- diff --git a/debian/openvswitch-common.install b/debian/openvswitch-common.install index c46d9be3..fab99166 100644 --- a/debian/openvswitch-common.install +++ b/debian/openvswitch-common.install @@ -4,4 +4,4 @@ _debian/utilities/ovs-appctl usr/sbin _debian/utilities/ovs-ofctl usr/sbin _debian/utilities/ovs-parse-leaks usr/bin _debian/utilities/ovs-pki usr/sbin -vswitchd/vswitch-idl.ovsschema usr/share/openvswitch +vswitchd/vswitch.ovsschema usr/share/openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 1f65b693..3a7f2924 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -209,7 +209,7 @@ case "$1" in # Create configuration database. ovsdb-tool -vANY:console:emer \ create /etc/openvswitch-switch/conf \ - /usr/share/openvswitch/vswitch-idl.ovsschema + /usr/share/openvswitch/vswitch.ovsschema fi if test "$ENABLE_MONITOR" = y; then diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index eb5dcb32..7bc826aa 100755 --- a/xenserver/etc_init.d_vswitch +++ b/xenserver/etc_init.d_vswitch @@ -46,7 +46,7 @@ test -e /etc/sysconfig/vswitch && . /etc/sysconfig/vswitch # Config variables specific to ovs-vswitchd : ${VSWITCHD_OVSDB_SERVER:=unix:/var/run/ovsdb-server} -: ${VSWITCHD_OVSDB_SCHEMA:=/usr/share/vswitch/vswitch-idl.ovsschema} +: ${VSWITCHD_OVSDB_SCHEMA:=/usr/share/vswitch/vswitch.ovsschema} : ${VSWITCHD_PIDFILE:=/var/run/ovs-vswitchd.pid} : ${VSWITCHD_RUN_DIR:=/var/xen/vswitch} : ${VSWITCHD_PRIORITY:=-10} diff --git a/xenserver/usr_share_vswitch_scripts_sysconfig.template b/xenserver/usr_share_vswitch_scripts_sysconfig.template index b9d7ecb2..8b740c2e 100644 --- a/xenserver/usr_share_vswitch_scripts_sysconfig.template +++ b/xenserver/usr_share_vswitch_scripts_sysconfig.template @@ -103,7 +103,7 @@ # VSWITCHD_OVSDB_SCHEMA: Schema file to use for generating a new OVSDB # ovs-vswitchd database. -# VSWITCHD_OVSDB_SCHEMA=/usr/share/vswitch/vswitch-idl.ovsschema +# VSWITCHD_OVSDB_SCHEMA=/usr/share/vswitch/vswitch.ovsschema # VSWITCHD_PIDFILE: File in which to store the pid of the running # ovs-vswitchd. diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index fbac9c55..a409892d 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -67,8 +67,8 @@ install -d -m 755 $RPM_BUILD_ROOT/etc/xapi.d/plugins install -m 755 xenserver/etc_xapi.d_plugins_vswitch-cfg-update \ $RPM_BUILD_ROOT/etc/xapi.d/plugins/vswitch-cfg-update install -d -m 755 $RPM_BUILD_ROOT/usr/share/vswitch/scripts -install -m 644 vswitchd/vswitch-idl.ovsschema \ - $RPM_BUILD_ROOT/usr/share/vswitch/vswitch-idl.ovsschema +install -m 644 vswitchd/vswitch.ovsschema \ + $RPM_BUILD_ROOT/usr/share/vswitch/vswitch.ovsschema install -m 755 xenserver/opt_xensource_libexec_interface-reconfigure \ $RPM_BUILD_ROOT/usr/share/vswitch/scripts/interface-reconfigure install -m 755 xenserver/etc_xensource_scripts_vif \ @@ -189,7 +189,7 @@ fi if test ! -e /etc/ovs-vswitchd.conf.db; then # Create ovs-vswitchd config database ovsdb-tool -vANY:console:emer create /etc/ovs-vswitchd.conf.db \ - /usr/share/vswitch/vswitch-idl.ovsschema \ + /usr/share/vswitch/vswitch.ovsschema \ # Create initial table in config database ovsdb-tool -vANY:console:emer transact /etc/ovs-vswitchd.conf.db \ @@ -331,7 +331,7 @@ fi # include them. /usr/share/vswitch/scripts/XSFeatureVSwitch.pyc /usr/share/vswitch/scripts/XSFeatureVSwitch.pyo -/usr/share/vswitch/vswitch-idl.ovsschema +/usr/share/vswitch/vswitch.ovsschema /usr/sbin/ovs-brcompatd /usr/sbin/ovs-vswitchd /usr/sbin/ovsdb-server