From: Gurucharan Shetty Date: Wed, 24 Oct 2012 20:05:01 +0000 (-0700) Subject: debian: Save openflow flows during package upgrade. X-Git-Tag: sliver-openvswitch-1.9.90-1~3^2~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d2bcb6bb734f53f2a454ac68441e1753fd58ca48;p=sliver-openvswitch.git debian: Save openflow flows during package upgrade. 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 --- diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst index 7b9d7bc89..ac6ed653a 100755 --- 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