neutron/neutron/api/rpc/handlers
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
..
__init__.py RPC additions to support DVR 2014-07-17 11:45:45 -07:00
dhcp_rpc.py Fix some pylint indentation warnings 2022-11-02 10:11:46 -04:00
dvr_rpc.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00
l3_rpc.py Fix some pylint indentation warnings 2022-11-02 10:11:46 -04:00
metadata_rpc.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00
resources_rpc.py Fix some pylint indentation warnings 2022-11-02 10:11:46 -04:00
securitygroups_rpc.py Improve the SG RPC callback ``security_group_info_for_ports`` 2023-08-21 15:46:13 +00:00