]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Handle SIGHUP in dhcp and l3 agents
authorElena Ezhova <eezhova@mirantis.com>
Tue, 7 Apr 2015 11:55:50 +0000 (14:55 +0300)
committerElena Ezhova <eezhova@mirantis.com>
Thu, 9 Apr 2015 12:29:31 +0000 (15:29 +0300)
commitd9251d6e35ac87b755b63aa58bb32da20496dfba
tree77d7a9c89960bd0b26592d3eb7bbe8cc0d7ca811
parent483de6313fab5913f9e68eb24afe65c36bd9b623
Handle SIGHUP in dhcp and l3 agents

All launchers implemented in common.service require each service to
implement reset method because it is called in case a process
receives a SIGHUP.

This change adds the reset method to neutron.service.Service class
which is used to start dhcp and l3 agents.

Now dhcp and l3 agents don't die on receiving SIGHUP and support
reloading policy_path and logging options in config.

Partial-Bug: #1276694
Change-Id: I96010e44928a665bea546865b2c81bde4ed0adf2
neutron/service.py