-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(panos_security_rule): state merged with existing values (#570)
* Introduce default_values param in helper function instead of sdk_params default values to avoid issue with default values being merged to existing configuration. * Introduce preset_values param in helper function which takes panos predefined possible values to overcome the issue with updating / replacing list type parameters with defaults (e.g. when “any” was present for source IP for an existing rule and user passed an IP address to be merged) * Also fixes panos_template mode xpath error on second run
- Loading branch information
1 parent
7f84b21
commit db6c32c
Showing
3 changed files
with
154 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.