git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Fix potential leak during flow mods.
[sliver-openvswitch.git]
/
debian
/
ifupdown.sh
diff --git
a/debian/ifupdown.sh
b/debian/ifupdown.sh
index
f6a7750
..
a621100
100755
(executable)
--- a/
debian/ifupdown.sh
+++ b/
debian/ifupdown.sh
@@
-1,6
+1,6
@@
#! /bin/sh
#! /bin/sh
-# Copyright (c) 2012 Nicira, Inc.
+# Copyright (c) 2012
, 2013
Nicira, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-66,6
+66,12
@@
if [ "${MODE}" = "start" ]; then
ifconfig "${slave}" up
done
;;
ifconfig "${slave}" up
done
;;
+ OVSTunnel)
+ ovs_vsctl -- --may-exist add-port "${IF_OVS_BRIDGE}"\
+ "${IFACE}" ${IF_OVS_OPTIONS} -- set Interface "${IFACE}" \
+ type=${IF_OVS_TUNNEL_TYPE} ${IF_OVS_TUNNEL_OPTIONS} \
+ ${OVS_EXTRA+-- $OVS_EXTRA}
+ ;;
*)
exit 0
;;
*)
exit 0
;;
@@
-79,7
+85,7
@@
elif [ "${MODE}" = "stop" ]; then
ovs_vsctl -- --if-exists del-br "${IFACE}"
;;
ovs_vsctl -- --if-exists del-br "${IFACE}"
;;
- OVSPort|OVSIntPort|OVSBond)
+ OVSPort|OVSIntPort|OVSBond
|OVSTunnel
)
ovs_vsctl -- --if-exists del-port "${IF_OVS_BRIDGE}" "${IFACE}"
;;
*)
ovs_vsctl -- --if-exists del-port "${IF_OVS_BRIDGE}" "${IFACE}"
;;
*)