neutron/neutron/plugins/vmware
Salvatore Orlando 138d977400 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
2014-07-14 03:52:39 -07:00
..
api_client Consistently use jsonutils instead of specific implementation 2014-06-16 09:18:52 +02:00
common Merge "NSX sync cache: add a flag to skip item deletion" 2014-06-25 17:26:03 +00:00
dbexts Add 'server_default' parameter 2014-07-11 10:46:09 +04:00
dhcp_meta Switch to using of oslo.db 2014-06-30 14:07:59 +03:00
extensions Merge "NSX: return 400 if dscp set for trusted queue" 2014-06-25 17:25:56 +00:00
nsxlib NSX: Optionally not enforce nat rule match length check 2014-07-14 03:52:39 -07:00
plugins NSX: Optionally not enforce nat rule match length check 2014-07-14 03:52:39 -07:00
shell Fix H302 violations in plugins package 2014-05-04 12:40:05 +02:00
vshield Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
check_nsx_config.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
dhcpmeta_modes.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
nsx_cluster.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
plugin.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00