summaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-02-04 09:48:54 -0800
committerBen Pfaff <blp@ovn.org>2016-02-05 11:43:35 -0800
commit9aad5a5a96bac423b05b5bb3afb7add2df44bba9 (patch)
tree8dd745de2b1b2c51c7e9ab9f9ca0d31b3b424022 /ovsdb
parent8147cec9ee8feea9440cf79365709ddc32ff57d5 (diff)
downloadopenvswitch-9aad5a5a96bac423b05b5bb3afb7add2df44bba9.tar.gz
ovs-vswitchd: Preserve datapath ports across graceful shutdown.
Until now, asking ovs-vswitchd to shut down gracefully, e.g. with "ovs-appctl exit", would cause it to first remove all the ports from kernel-based datapaths. This has the unfortunate side effect that IP addresses on any removed "internal" ports are lost, even if the ports are added again when ovs-vswitchd is restarted. This is long-standing behavior, but it only became important when the OVS control scripts were changed to try to do graceful shutdown first instead of using a signal. This commit changes graceful shutdown so that it leaves ports in the datapath, fixing the problem. Fixes: 9b5422a98f8 (ovs-lib: Try to call exit before killing.) Reported-by: Edgar Cantu <eocantu@us.ibm.com> Reported-at: http://openvswitch.org/pipermail/discuss/2016-January/020024.html Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'ovsdb')
0 files changed, 0 insertions, 0 deletions