neutron/neutron/tests/unit
Lucas Alvares Gomes 7e1df72c16 [OVN] Fix: Disabling snat after it was enabled
This patch removes a conditional check in the update_router() method
which was verifying if snat was enabled in order to update the nat
rules. This check does not make sense in the update method as if snat
was disabled we should still call update_nat_rules() which will then
remove the NAT entry from the OVN NB DB.

Change-Id: Ice20d22365acaf33ee211b1e38b7d0bc151c1ba8
Closes-Bug: #1922089
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
(cherry picked from commit ddc8e625f7)
2021-05-21 09:19:33 +01:00
..
agent [OVN] Only account for bound ports in metadata agent 2021-04-27 12:12:22 +02:00
api DHCP notification optimization 2021-04-23 10:02:14 +00:00
cmd Migrate "netstat" to oslo.privsep 2021-02-25 09:55:41 +01:00
common Rely on worker count for HashRing caching 2021-05-06 09:07:38 +00:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Add "qos_network_policy_id" to port definition 2020-01-17 17:57:11 +00:00
db Merge "[L3] Check agent gateway port robustly" into stable/ussuri 2021-04-27 00:12:47 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Improve Network delete performance 2021-05-05 08:02:50 +00:00
hacking Allow usage of assert_called_once method in unit tests 2020-03-02 14:17:26 +02:00
ipam IPv6 accepts first address only for routers 2020-01-12 20:39:07 +00:00
notifiers Add config option ``http_retries`` 2020-07-09 10:11:22 +00:00
objects Auto-delete dhcp ports on segment delete 2020-07-13 12:40:18 +02:00
pecan_wsgi Removing deprecated module neutron.api.versions 2018-03-28 14:15:50 +07:00
plugins Merge "Change reference to OvnDbNotifyHandler._watched_events" into stable/ussuri 2021-05-06 22:40:33 +00:00
privileged Migrate "netstat" to oslo.privsep 2021-02-25 09:55:41 +01:00
quota use get reader/writer session from neutron-lib 2018-07-06 14:43:31 -06:00
scheduler Revert "DVR: Remove control plane arp updates for DVR" 2021-03-09 13:08:28 +00:00
services [OVN] Fix: Disabling snat after it was enabled 2021-05-21 09:19:33 +01:00
tests Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py Remove some unnecessary usages of verify() 2020-09-03 17:56:19 -04:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py
test_policy.py Fix handling of network:shared field in policy module 2019-05-07 11:31:25 +02:00
test_service.py fix test nit 2019-08-04 12:31:46 +08:00
test_worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
test_wsgi.py Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
testlib_api.py use SqlFixture and StaticSqlFixture from neutron-lib 2019-07-08 11:26:34 -06:00