a6cdf273c0
As reported in LP#1896734, there is a limit in the size of information that can be transmitted in one single message between an application and the privsep daemon. The read socket buffer is limited in size; a message exceeding this size will generate an exception. In order to limit the amount of information to be sent, this patch improves the performance of "get_devices_with_ip". In the previous implementation, the whole list of network devices from a namespace was retrieved. In some environments, the list of devices could be so big that the list returned by "privileged.get_link_devices" can exceed the read buffer size (as reported in the LP bug when the OVS agent tries to retrieve the list of IP addresses in the system). Now the function calls "privileged.get_ip_addresses", that returns a much smaller list. This patch is also reducing the number of system calls to just one; the previous implementation was retrieving first the devices link information list (that method was returning a much bigger blob) and then, per device, retrieving the IP address information. Change-Id: I97ada62484023b9833ed12afd68eb4c8d337fd1f Related-Bug: #1896734 |
||
---|---|---|
api-ref | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
roles | ||
tools | ||
vagrant/ovn | ||
zuul.d | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.stestr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
bindep.txt | ||
lower-constraints.txt | ||
plugin.spec | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.