]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto: Do not delete datapath flows on exit by default.
authorBen Pfaff <blp@ovn.org>
Thu, 9 Jan 2020 20:49:44 +0000 (12:49 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 24 Jan 2020 21:00:52 +0000 (13:00 -0800)
commit79eadafeb1b47a3871cb792aa972f6e4d89d1a0b
tree1398babc34fef8269a052529304335f855da89b9
parent586cd3101e7fda54d14fb5bf12d847f35d968627
ofproto: Do not delete datapath flows on exit by default.

Commit e96a5c24e853 ("upcall: Remove datapath flows when setting
n-threads.") caused OVS to delete datapath flows when it exits through
any graceful means.  This is not necessarily desirable, especially when
OVS is being stopped as part of an upgrade.  This commit changes OVS so
that it only removes datapath flows when requested, via "ovs-appctl
exit --cleanup".

Acked-by: Numan Siddique <numans@ovn.org>
Tested-by: Numan Siddique <numans@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
NEWS
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto.c
vswitchd/ovs-vswitchd.8.in