diff options
author | Jesse Gross <jesse@nicira.com> | 2009-10-19 20:14:31 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2009-10-19 21:03:22 -0700 |
commit | 450f38cf3c84f7b6f4722e174d824f328b4414f8 (patch) | |
tree | 77378aa20cc54505965c9657e1ab8cebaf1326e3 /xenserver/etc_xensource_scripts_vif | |
parent | 03fbffbda4d36188944a4df39eace449a0c306dd (diff) | |
download | openvswitch-450f38cf3c84f7b6f4722e174d824f328b4414f8.tar.gz |
xen: Restore state files for VIF VLANs
A change on master to use ovs-vsctl instead of state files for VLANs
was ported to the citrix branch, which does not have ovs-vsctl. The
interface reconfigure portion, which does not store the state files
was ported but the vif-hotput script portion was not. This restores
interface reconfigure to again save the state files.
Bug #2187
Diffstat (limited to 'xenserver/etc_xensource_scripts_vif')
-rwxr-xr-x | xenserver/etc_xensource_scripts_vif | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif index c3baba9e0..8217fb00c 100755 --- a/xenserver/etc_xensource_scripts_vif +++ b/xenserver/etc_xensource_scripts_vif @@ -71,8 +71,8 @@ add_to_bridge() logger -t scripts-vif "Adding ${vif} to ${bridge} with address ${address}" vid= - if [ -e "/etc/openvswitch/br-$bridge" ]; then - . "/etc/openvswitch/br-$bridge" + if [ -e "/var/lib/openvswitch/br-$bridge" ]; then + . "/var/lib/openvswitch/br-$bridge" if [ -n "$VLAN_SLAVE" -a -n "$VLAN_VID" ]; then bridge=$VLAN_SLAVE vid="--add=vlan.$vif.tag=$VLAN_VID" |