OpenStack Networking (Neutron)
Go to file
Rodolfo Alonso Hernandez adbc3e23b7 Optimize the SG rule retrieval
There are some operations where the SG DB object can be used instead of
the SG OVO. That saves conversion time, including the conversion of the
SG rule OVOs, that are child resources of the SG OVO.

This optimization applies to the following methods:
* SecurityGroupDbMixin.get_security_groups
* SecurityGroupDbMixin.update_security_group (partially)

The Nova query to retrieve the SG list in the "server list" command,
has been benchmarked. The testing environment had a single SG with
250 SG rules. Call:
  "GET /networking/v2.0/security-groups?id=81f64aa4-2cea-46db-8fea-cd944f106aab
     &fields=id&fields=name HTTP/1.1"

* Without this patch: around 1.25 seconds
* With this patch: around 0.025 second (50x improvement).

Closes-bug: #2083682
Change-Id: Ibd032ea77c5bfbc1fa80b3b3ee9ba7d5c36bb1bc
2024-10-11 13:35:09 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Add trusted vif api extension for the port 2024-09-05 07:18:08 +00:00
doc Add RST linting to neutron 2024-10-01 11:18:46 -04:00
etc [S-RBAC] Change policies for port's binding:profile field 2024-02-16 16:10:43 +01:00
neutron Optimize the SG rule retrieval 2024-10-11 13:35:09 +00:00
playbooks Add some swap to tox-cover job 2024-06-06 11:13:54 +05:30
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes Merge "Deprecate ovn_emit_need_to_frag option" 2024-10-10 01:57:01 +00:00
roles [CI] Functional: Increase Ulimit to 4096 2024-10-08 10:22:29 +05:30
tools Drop ovn migration for TripleO deployments 2024-09-24 01:19:50 +00:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Merge "zuul: Move ovs-master and ovs-lts jobs to periodic queue" 2024-10-01 17:02:33 +00:00
.coveragerc Exclude files from coverage check, improve overall result 2024-03-05 08:13:17 +00:00
.gitignore Ignore reno artefacts (RELEASENOTES.rst and reno.cache) 2023-01-18 04:52:03 +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
.pre-commit-config.yaml Add pre-commit configuration 2024-05-02 10:46:27 +00:00
.pylintrc Fix the broken neutron gate 2024-05-15 16:13:38 +02:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
bindep.txt Fix bindep for Debian bookworm 2023-08-21 13:57:00 +00:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Update hacking version 2024-02-08 10:34:10 -05: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
mypy.ini mypy: Use tuple type for SUPPORTED_LOGGING_TYPES 2024-10-01 12:51:52 +00:00
README.rst Doc: make the contributor guide more visible 2022-07-14 13:08:56 +02:00
requirements.txt Drop usage of importlib_metadata 2024-10-05 03:06:37 +09:00
setup.cfg Merge "Use py312 for all neutron jobs" 2024-09-30 17:38:03 +00:00
setup.py Cleanup setup.py and requirements 2024-01-12 17:44:09 +09:00
test-requirements.txt Add RST linting to neutron 2024-10-01 11:18:46 -04:00
TESTING.rst Add RST linting to neutron 2024-10-01 11:18:46 -04:00
tox.ini Add RST linting to neutron 2024-10-01 11:18:46 -04: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:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

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