vmware-nsxlib/vmware_nsxlib/tests/unit/v3/policy
Jinhao Tang 5ed31933e1 Add transaction support in SecurityPolicies and Rules
1. Enabling transaction calls in SecurityPolicies and their related rules
requires the support in create_with_entires and update_with_entries call.
This patch changed these method calls and supports adding list of resource
defs to the transaction.
2. Special logic is added to the update_with_entries since partial patch in
hierarych call for DFW rules only supports updating and adding. However, we expect
the update to be full replacement. Thus add logic to mark the marked_as_delete field
in the unwanted entries as true.

Change-Id: I59ef2e27f6a2f23a44edcd37da88bdc70fda944d
2019-11-03 10:32:35 +02:00
..
__init__.py Re-Add policy unit tests 2019-01-06 10:32:01 +02:00
policy_testcase.py Support PATCH partial updates 2019-08-01 12:29:54 +03:00
test_api.py Add Service class that allows multiple/mixed entries 2019-03-27 11:20:50 -07:00
test_ipsec_vpn_resources.py Initial support for Policy IPSEC VPN resources 2019-05-21 13:18:32 +00:00
test_lb_resources.py Include error code in RealizationErrorStateError in Policy 2019-10-08 11:25:18 -07:00
test_resources.py Add transaction support in SecurityPolicies and Rules 2019-11-03 10:32:35 +02:00
test_transaction.py Add transaction support in SecurityPolicies and Rules 2019-11-03 10:32:35 +02:00