projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Drop "init-dbcache" by making PIF optional for "rewrite".
[openvswitch]
/
xenserver
/
etc_xensource_scripts_vif
diff --git
a/xenserver/etc_xensource_scripts_vif
b/xenserver/etc_xensource_scripts_vif
index c3baba9e0d0c8eb7614b68642b7034e065f4024a..04aa2bb0a567e0195b516661302949fb9d447b0d 100755
(executable)
--- a/
xenserver/etc_xensource_scripts_vif
+++ b/
xenserver/etc_xensource_scripts_vif
@@
-11,8
+11,8
@@
# Keep other-config/ keys in sync with device.ml:vif_udev_keys
# Keep other-config/ keys in sync with device.ml:vif_udev_keys
-cfg_mod="/
root/vswitch
/bin/ovs-cfg-mod"
-dump_vif_details="/
root
/vswitch/scripts/dump-vif-details"
+cfg_mod="/
usr
/bin/ovs-cfg-mod"
+dump_vif_details="/
usr/share
/vswitch/scripts/dump-vif-details"
service="/sbin/service"
TYPE=`echo ${XENBUS_PATH} | cut -f 2 -d '/'`
service="/sbin/service"
TYPE=`echo ${XENBUS_PATH} | cut -f 2 -d '/'`
@@
-71,8
+71,8
@@
add_to_bridge()
logger -t scripts-vif "Adding ${vif} to ${bridge} with address ${address}"
vid=
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"
if [ -n "$VLAN_SLAVE" -a -n "$VLAN_VID" ]; then
bridge=$VLAN_SLAVE
vid="--add=vlan.$vif.tag=$VLAN_VID"