neutron/neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb
Fernando Royo 227c5f8568 Avoid register config options on imports
Continue similar approach following in [1], where some project imports
collide with config options.

As part of the change, a wrapped decorator has been implemented to cover
those functions that include any of the ovn config options as value to
the decorators arguments (e.g. tenacity retry). This way we avoid
requiring the options to be registered as soon as the module is imported,
where they have not yet been registered by a main process.

[1] https://review.opendev.org/c/openstack/neutron/+/837392

Co-authored-by: Jakub Libosvar <libosvar@redhat.com>
Co-authored-by: Fernando Royo <froyo@redhat.com>

Change-Id: I4bccb094ee7f690cbc352c38b5b39d505e6ea460
2022-05-05 07:55:42 +00:00
..
extensions Avoid register config options on imports 2022-05-05 07:55:42 +00:00
schemas [OVN] Import ovsdb related code (part 2) 2019-12-09 10:07:28 +00:00
__init__.py [OVN] Import ovsdb related code 2019-12-04 13:18:50 +00:00
test_commands.py Ensure no GARPs are sent for Load Balancer VIPs on tenant networks 2022-03-14 15:55:42 +01:00
test_impl_idl_ovn.py [OVN] Reschedule router GW chassis when AZ updated 2022-03-14 00:33:23 +00:00
test_maintenance.py Avoid register config options on imports 2022-05-05 07:55:42 +00:00
test_ovn_client.py Avoid register config options on imports 2022-05-05 07:55:42 +00:00
test_ovn_db_sync.py ovn: use stateless NAT rules for FIPs 2021-09-23 04:15:39 +00:00
test_ovsdb_monitor.py Avoid register config options on imports 2022-05-05 07:55:42 +00:00