Rodolfo Alonso Hernandez 6b6abb9698 Improve the SG RPC callback `security_group_info_for_ports`
This method populates the SG rules in a dictionary. Each SG rule
inherits the "stateful" value of the SG. Prior to this patch, each
SG rule was isuing a database call to retrieve the SG register.

In this patch, the SG "stateful" retrieval is done in one database
query for all SG. That improves the performance of this method
reducing the database access to only one single call.

This improvement, as commented in the LP bug, affects to
ML2/LinuxBridge. ML2/OVS agent uses a cached RPC implementation
that not requires to perform any RPC call/database query.

Closes-Bug: #2045950
Change-Id: Iafd0419a1d1eeb25d5589edc2570ebf287450957
2023-08-21 15:46:13 +00:00
..
2023-05-09 11:49:17 +02:00
2022-08-09 15:10:01 -04:00
2022-08-09 15:10:01 -04:00
2022-08-09 15:10:01 -04:00
2021-11-11 10:08:23 +03:00
2023-05-09 11:49:17 +02:00
2022-08-09 15:10:01 -04:00
2021-09-15 09:19:26 +00:00
2021-09-15 09:19:26 +00:00

Neutron Objects

Directory

This directory is designed to contain all modules which have objects definitions shipped with core Neutron. The files and directories located inside of this directory should follow the guidelines below.

Structure

The Neutron objects tree should have the following structure:

  • The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin objects should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
  • Module names should use singular forms for nouns (network.py, not networks.py).