]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure ovsdb-client is stopped when OVS agent dies
authorTerry Wilson <twilson@redhat.com>
Fri, 24 Jan 2014 19:04:18 +0000 (13:04 -0600)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:31 +0000 (15:20 +0800)
commit69a0c6b10e5a85371c1549ff36934c04a1ae1991
tree6164836b126888cf71f1c0b1ef7c5fdc1d8507c6
parent46fe14b1403fd4a1b4c15a5f3e5a10bd7fba31c8
Ensure ovsdb-client is stopped when OVS agent dies

If the OVS agent is killed, the interpreter is killed before any cleanup
is done. This patch adds a signal handler for SIGTERM that exits
normally so that the existing cleanup is done and the ovsdb-client
process is terminated.

Change-Id: Ie4f8ff434098100f4699124403d58caa784084cf
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py