a477c31a23
This method allows to track any IP address change in a namespace. In future patches, this method will replace the current IP monitor used in the keepalived_state_change daemon. The current implementation relays in a spawned shell, executed in root mode, and the output of this shell, conveniently parsed. If the passed namespace is not None, this new method must be executed in privileged mode (root user), but cannot use privsep because is a blocking function and can exhaust the number of working threads. This function should be executed in a parallel thread, returning the data using the eventlet queue. Pyroute does not implement yet a non blocking method to retrieve the command output or to know if the buffer has data. This method, spawned in a greenthread, must be stopped by killing this thread. An example of how to use it can be found in the functional tests implemented in this patch. Change-Id: I86e4487035d60e1b52e951dd3cd50d6bb54f388b Related-Bug: #1680183 |
||
---|---|---|
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