projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad12c5
)
debian: Save openflow flows during package upgrade.
author
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 24 Oct 2012 20:05:01 +0000
(13:05 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 24 Oct 2012 23:46:12 +0000
(16:46 -0700)
When debian package for openvswitch-switch is upgraded,
export a variable, OVS_RESTART_SAVE_FLOWS=yes.
This will save the openflow flows in vswitchd and
re-apply it after the upgrade.
Feature #13555.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
debian/openvswitch-switch.postinst
patch
|
blob
|
history
diff --git
a/debian/openvswitch-switch.postinst
b/debian/openvswitch-switch.postinst
index 7b9d7bc89a0e19093322e21c2e96d91836ee3901..ac6ed653acebe91100796075a924a7e2557fb351 100755
(executable)
--- a/
debian/openvswitch-switch.postinst
+++ b/
debian/openvswitch-switch.postinst
@@
-49,6
+49,10
@@
esac
OVS_MISSING_KMOD_OK=yes
export OVS_MISSING_KMOD_OK
+# Save and restore openflow flows during a package upgrade.
+OVS_RESTART_SAVE_FLOWS=yes
+export OVS_RESTART_SAVE_FLOWS
+
#DEBHELPER#
exit 0