OpenStack Networking (Neutron)
Go to file
Rodolfo Alonso Hernandez a6cdf273c0 Improve "get_devices_with_ip" performance
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
2021-02-27 10:07:03 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack [OVN] Update sample local.conf to mention OVN_BUILD_FROM_SOURCE 2021-02-08 15:47:38 -05:00
doc Merge "[OVS FW] Allow egress ICMPv6 only for know addresses" 2021-02-26 20:19:12 +00:00
etc Remove rootwrap execution (5) 2021-02-19 08:47:17 +00:00
neutron Improve "get_devices_with_ip" performance 2021-02-27 10:07:03 +00:00
playbooks Merge "Convert neutron-grenade-ovn job to be zuulv3" 2020-10-11 16:50:14 +00:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes Merge "Don't configure dnsmasq entries for "network" ports" 2021-02-23 19:42:13 +00:00
roles [OVN] Use the OVN DevStack module 2020-08-26 10:09:28 +01:00
tools [OVN] Updates to tools/migrate_names.txt 2020-12-14 16:44:40 -05:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Limit execution of the neutron CI jobs on some irrelevant file 2021-02-22 09:43:21 +01:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Remove "six" library 2020-07-28 16:55:52 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Remove "six" library 2020-07-28 16:55:52 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
TESTING.rst [Docs] Guide about running and debugging tempest tests 2021-01-07 21:36:42 +01:00
bindep.txt include python36-devel in bindep, for tests 2020-10-03 21:58:20 +10:00
lower-constraints.txt Merge "Use agent chassis table based on schema" 2021-02-21 14:31:31 +00:00
plugin.spec Add OVN migration OSP 16.2 option 2021-01-24 17:18:55 +02:00
requirements.txt Merge "Use agent chassis table based on schema" 2021-02-21 14:31:31 +00:00
setup.cfg Add port device profile extension 2021-01-22 16:17:30 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Move linters dependencies to tox.ini 2020-12-17 11:32:03 +01:00
tox.ini Move linters dependencies to tox.ini 2020-12-17 11:32:03 +01:00

README.rst

OpenStack Neutron

image

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:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.