]> git.proxmox.com Git - ovs.git/commit
ovn: Add '--restart' flag to ovn-controller exit.
authorMark Michelson <mmichels@redhat.com>
Mon, 30 Jul 2018 13:47:44 +0000 (09:47 -0400)
committerBen Pfaff <blp@ovn.org>
Thu, 2 Aug 2018 20:11:11 +0000 (13:11 -0700)
commita3132a39308a39e8f432b056aa3cea4593a8eda3
tree365ef80179a23d681e95ed44349c5c07789f9406
parentd4519b03785026b1ae4c076a737c6408e4fa60f3
ovn: Add '--restart' flag to ovn-controller exit.

When "--restart" is passed to ovn-controller's exit command, then
database entries are not removed for this hypervisor. This means that
* Encaps
* Chassis
* OVS ports
are not removed.

The reasoning is that if the intent is to restart ovn-controller, this
will allow for tunnels to remain up and allow for traffic not to be
interrupted during the restart. When ovn-controller is started again, it
picks back up from where it was.

Signed-off-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/ovn-controller.c
tests/ovn.at