7c5ce50a0c
After spawning the "dnsmasq" process in the method "Dnsmasq._spawn_or_reload_process", we need to check that the "dnsmasq" process is running and could be detected by the ProcessManager instance controlling it. ProcessManager determines if a process is "active": - If the network ID is in the cmdline used to execute the process. - If the process is detected by psutil.Process(pid), returning the cmdline needed in the first condition. - If the PID file exists; this is written by the dnsmasq process once is started and is needed in the second condition. To make this feature available for any other process using ProcessManager, the implementation is done in this class. Change-Id: I51dc9d342c613afcbcfdc50a1d2811502748f170 Closes-Bug: #1849502 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: https://docs.openstack.org
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst