neutron-fwaas/neutron/tests/unit/vmware
Salvatore Orlando 3a8594624a NSX: Optionally not enforce nat rule match length check
This patch adds the 'raise_on_len_mismatch' parameter to the
'delete_nat_rules_by_match' function. The plugin then leverages
this parameter for ensuring NAT rules deletion operations
are completed successfully even when duplicate rules are found
or no corresponding rules are found at all.

With this change, the 'remove_router_interface' operation will
correctly complete even in cases when NAT rules in Neutron and
the NSX backend are out of sync.

This patch also changes a check in delete_nat_rules_by_match in
order to make it less expensive.

Closes-Bug: 1328181

Change-Id: I856d67ef5ff6264374cb8f2569668da4c205ad9f
(cherry picked from commit 138d977400)
2014-09-24 13:26:26 -07:00
..
apiclient NSX: Fix fake_api_client to raise NotFound 2014-04-23 16:51:47 -07:00
db Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
etc NSX: allow net-migration only in combined mode 2014-05-22 10:37:03 -07:00
extensions NSX: Correct allowed_address_pair return value on create_port 2014-09-09 10:10:01 -07:00
nsxlib NSX: Optionally not enforce nat rule match length check 2014-09-24 13:26:26 -07:00
vshield UT: do not hide an original error in test resource ctxtmgr 2014-03-28 05:49:13 +00:00
__init__.py Remove nvplib and move utility methods into nsxlib 2014-03-03 06:37:59 -08:00
test_agent_scheduler.py Remove individual cfg.CONF.resets from tests 2014-03-17 12:34:56 -04:00
test_dhcpmeta.py Merge "NSX: ensure that no LSN is created on external networks" into stable/icehouse 2014-05-30 22:36:50 +00:00
test_nsx_opts.py NSX: allow net-migration only in combined mode 2014-05-22 10:37:03 -07:00
test_nsx_plugin.py NSX: Optionally not enforce nat rule match length check 2014-09-24 13:26:26 -07:00
test_nsx_sync.py NSX sync cache: add a flag to skip item deletion 2014-06-25 13:16:32 -07:00
test_nsx_utils.py Removes calls to mock.patch.stopall in unit tests 2014-03-12 04:17:11 +00:00