diff options
author | Flavio Leitner <fbl@redhat.com> | 2014-11-06 16:50:06 -0200 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-11-06 14:14:00 -0800 |
commit | 059def1e2fa50223bee7dd04d4075d72bc5845a2 (patch) | |
tree | 648a3ffb83cf7c1733e82a06ae36c35ae4d97ae6 /rhel | |
parent | 3cf905f91e6b6226a8a9008e00dbce0732204351 (diff) | |
download | openvswitch-059def1e2fa50223bee7dd04d4075d72bc5845a2.tar.gz |
rhel: Fix tunnel port ifup/ifdown failure.
The tunnel port is invisible to the OS, so there is
no reason to call OTHERSCRIPT in the ifup/ifdown scripts.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel')
-rwxr-xr-x | rhel/etc_sysconfig_network-scripts_ifdown-ovs | 4 | ||||
-rwxr-xr-x | rhel/etc_sysconfig_network-scripts_ifup-ovs | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/rhel/etc_sysconfig_network-scripts_ifdown-ovs b/rhel/etc_sysconfig_network-scripts_ifdown-ovs index 6e96d62a2..5f78f9ca7 100755 --- a/rhel/etc_sysconfig_network-scripts_ifdown-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifdown-ovs @@ -51,12 +51,12 @@ case "$TYPE" in retval=$? ovs-vsctl -t ${TIMEOUT} -- --if-exists del-br "$DEVICE" ;; - OVSPort|OVSIntPort|OVSBond|OVSTunnel) + OVSPort|OVSIntPort|OVSBond) ${OTHERSCRIPT} ${CONFIG} $2 retval=$? ovs-vsctl -t ${TIMEOUT} -- --if-exists del-port "$OVS_BRIDGE" "$DEVICE" ;; - OVSPatchPort) + OVSPatchPort|OVSTunnel) ovs-vsctl -t ${TIMEOUT} -- --if-exists del-port "$OVS_BRIDGE" "$DEVICE" ;; *) diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs index 4e7d4d16d..05f70f6c5 100755 --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs @@ -141,7 +141,6 @@ case "$TYPE" in OVSTunnel) ifup_ovs_bridge ovs-vsctl -t ${TIMEOUT} -- --may-exist add-port "$OVS_BRIDGE" "$DEVICE" $OVS_OPTIONS -- set Interface "$DEVICE" type=$OVS_TUNNEL_TYPE $OVS_TUNNEL_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA} - ${OTHERSCRIPT} ${CONFIG} ${2} ;; OVSPatchPort) ifup_ovs_bridge |