summaryrefslogtreecommitdiff
path: root/rhel/etc_sysconfig_network-scripts_ifup-ovs
diff options
context:
space:
mode:
authorAnoob Soman <anoob.soman@citrix.com>2014-03-25 12:32:03 +0000
committerBen Pfaff <blp@nicira.com>2014-05-21 07:46:35 -0700
commit5e3a8607018daeb540cc91b7b7e4b4da3ee6f6eb (patch)
tree2fdeb3f4149199b123ec9f9b76b73acdf0dc187c /rhel/etc_sysconfig_network-scripts_ifup-ovs
parent9a7a91546f3eb7768662a54a930763935e3be3d6 (diff)
downloadopenvswitch-5e3a8607018daeb540cc91b7b7e4b4da3ee6f6eb.tar.gz
rhel: Remove creation of fake bond interface
fake-iface, option to add-bond, was added for compatibility reasons and need not be used otherwise. Signed-off-by: Anoob Soman <anoob.soman@citrix.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel/etc_sysconfig_network-scripts_ifup-ovs')
-rwxr-xr-xrhel/etc_sysconfig_network-scripts_ifup-ovs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs
index 3ad86ff1c..57768c2b7 100755
--- a/rhel/etc_sysconfig_network-scripts_ifup-ovs
+++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs
@@ -127,8 +127,7 @@ case "$TYPE" in
for _iface in $BOND_IFACES; do
/sbin/ifup ${_iface}
done
- ovs-vsctl -t ${TIMEOUT} -- --fake-iface add-bond "$OVS_BRIDGE" "$DEVICE" ${BOND_IFACES} $OVS_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA}
- ${OTHERSCRIPT} ${CONFIG} ${2}
+ ovs-vsctl -t ${TIMEOUT} -- --may-exist add-bond "$OVS_BRIDGE" "$DEVICE" ${BOND_IFACES} $OVS_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA}
OVSINTF=${DEVICE} /sbin/ifup "$OVS_BRIDGE"
;;
OVSTunnel)