neutron/neutron/common
yatinkarel 3e1e2d63b3 Enable rpc notifications only when rpc_workers >= 1
rpc_workers can be set < 1 with 'ovn' backend when no
other agent is running apart from ovn agents to
consume these rpc notifications.

Add and apply disable_notifications decorator on
methods which do rpc cast calls to agents, the
decorator makes the caller method execute only
when rpc_workers >=1. This patch not changing
default behavior and utilizes the rpc_workers config option
to enable rpc notification on resources updates only when
rpc_workers >= 1.

Also set rpc_workers=0 in ovn jobs to cover this scenario.

Closes-Bug: #1889737
Closes-Bug: #1992352
Change-Id: I700fe2cd422bc1eb8b5144ec116e7f0a60238419
2023-01-09 13:33:37 +05:30
..
ovn Fix text in OVN RevisionConflict exception to match code 2022-12-08 10:15:12 -05:00
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_constants.py Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
_deprecate.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
cache_utils.py Fix some pylint indentation warnings 2022-11-02 10:37:39 -04:00
config.py Script to remove duplicated port bindings 2022-08-18 08:13:56 +00:00
coordination.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
eventlet_utils.py Bump pylint version to support python 3.8 2020-08-06 16:00:30 +02:00
experimental.py Implement experimental features framework 2022-06-30 17:59:49 -05:00
ipv6_utils.py Adding check for IPv6 address in setup_controllers 2019-10-29 15:10:25 +00:00
metadata.py Code move for metadata haproxy 2022-11-16 10:51:40 +08:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
utils.py Enable rpc notifications only when rpc_workers >= 1 2023-01-09 13:33:37 +05:30