ovs-ctl.in: Restore ofport values across force-reload-kmod.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 11 Jan 2013 21:40:23 +0000 (13:40 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 16 Jan 2013 21:39:38 +0000 (13:39 -0800)
commit167744623897a67ef3fd13bcaf44a84d3641fe68
tree236dbcb7a01736cbb1e9c52a22360bb381247c7d
parent1eccfa36c1ab36e2120a527ca95ca7ef4bce39fc
ovs-ctl.in: Restore ofport values across force-reload-kmod.

If we want to upgrade from pre-1.10 branch to 1.10 or later
and restore flows across force-reload-kmod, we need to maintain
the value of ofport.

To do this, we fetch the value of ofport before the upgrade and use
it to populate the column 'ofport_request' after ovsdb is upgraded.
We need to do this before vswitchd is restarted as vswitchd
needs the ofport_request column populated before it starts.

Issue #13556
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/ovs-ctl.in