OpenStack Networking (Neutron)
Go to file
LIU Yulong c63ebef2d5 Add tag to port more earlier
During some ml2 ovs agent port processing performance test, we noticed
that some ports are missing tag before it really done processing. While
ovs treats those ports without tag as trunk port, so some packets will
be flooded to it. In large scale cloud, if too many port added to the
bridge, the ovs-vswitchd will consume a huge amount of CPU cores if
ports are not bound in a short time.

So, in the port_bound function of ovs-agent, we set the port tag to
it after a local_vlan id is allocated. Because after that, setup
security groups (setup_port_filters) and bind devices in DB
(update_device_list) are really time-consuming.

And also fix a potential bug, port is processed as created first,
but no tag in ovsdb, so openflow security group will not be processed
successfully [1]. It must be done in a update event during next loop,
after port bound and ovsdb set the required value.

This patch can also fix some upstream test failures of waiting too
long time to ping some cases.

[1] https://github.com/openstack/neutron/blob/master/neutron/agent/linux/openvswitch_firewall/firewall.py#L112

Closes-Bug: #1952567
Change-Id: I3533f0d416d32f8d0888ad58f975960d89a985d9
2022-04-06 09:28:20 +08:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Merge "Add ndp_proxy to devstack plugin" 2022-03-12 04:07:14 +00:00
doc Merge "ovn migration: Remove usage of tripleo-ansible-inventory" 2022-03-25 18:50:49 +00:00
etc Sync rootwrap.conf from oslo.rootwrap 2022-01-03 09:17:04 +09:00
neutron Add tag to port more earlier 2022-04-06 09:28:20 +08:00
playbooks Run configure_for_func_testing script after enable fips 2022-03-11 16:02:22 +01:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes [OVN] Implement router gateway IP QoS 2022-03-17 12:37:13 +00:00
roles Make configure_for_func_testing compatible with e.g. Centos 2022-01-17 12:32:04 +01:00
tools Merge "ovn migration: Remove usage of tripleo-ansible-inventory" 2022-03-25 18:50:49 +00:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Set bigger swap in the functional and fullstack jobs 2022-04-05 09:13:22 +02: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
bindep.txt Merge "Add some packages to the bindep list" 2022-03-16 01:07:31 +00:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Follow up for replacing assertItemsEqual 2021-06-03 16:04:07 +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
lower-constraints.txt Bump python-neutronclient version to 7.8.0 2022-02-23 08:55:49 +08:00
plugin.spec Add OVN migration OSP 16.2 option 2021-01-24 17:18:55 +02:00
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
requirements.txt Bump python-neutronclient version to 7.8.0 2022-02-23 08:55:49 +08:00
setup.cfg [Agent Side] L3 router support ndp proxy 2022-02-25 12:42:13 +08:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Follow-up: Move linters dependencies to tox.ini 2021-01-07 04:26:07 +09:00
TESTING.rst Fix links for Source code references 2021-12-02 20:12:34 +05:30
tox.ini [FT] Run all .*MySQL tests in an isolated thread 2022-03-23 15:24:51 +00:00

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.