mirror of
https://github.com/openvswitch/ovs
synced 2025-10-15 14:17:18 +00:00
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>
This commit is contained in:
committed by
Ben Pfaff
parent
3cf905f91e
commit
059def1e2f
@@ -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"
|
||||
;;
|
||||
*)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user