]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Implements ProcessMonitor in the dhcp_agent
authorMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 21 Aug 2014 10:53:05 +0000 (12:53 +0200)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Fri, 23 Jan 2015 11:55:44 +0000 (11:55 +0000)
commitfc4e60ed4b1c4ea3b1129ff75364b04f3cb78b91
tree85117340d5cb3c4f8542aaba0cb2447535f66697
parentc6eed9564b8e1bb5e0fa336759520b35aecef08c
Implements ProcessMonitor in the dhcp_agent

The ProcessMonitor class will watch over spawned external processes,
taking the administrator configured action in the case of any
of the external processes die unexpectedly.

It covers both the neutron-ns-metadata-proxy for isolated metadata
and dnsmasq in the dnsmasq driver.

ProcessMonitor has been extended to allow specific pid files
for backwards-compatible dnsmasq pid file location.

Implements: blueprint agent-child-processes-status
Change-Id: I0a4a509b65aadf825799c98dfa48a655b123b403
neutron/agent/dhcp/agent.py
neutron/agent/linux/dhcp.py
neutron/agent/linux/external_process.py
neutron/agent/linux/utils.py
neutron/cmd/netns_cleanup.py
neutron/tests/functional/agent/linux/test_process_monitor.py
neutron/tests/unit/agent/linux/test_process_monitor.py
neutron/tests/unit/test_dhcp_agent.py
neutron/tests/unit/test_linux_dhcp.py
neutron/tests/unit/test_linux_external_process.py
neutron/tests/unit/test_netns_cleanup.py