pan-os-ansible icon indicating copy to clipboard operation
pan-os-ansible copied to clipboard

"target_negate" being removed from config xml with present state

Open alperenkose opened this issue 6 months ago • 0 comments

Describe the bug

When an existing security rule is updated using the "present" state, following block is removed from the xml configuration.

target {
    negate no;
}

target and negate_target params are used with Panorama to target Firewalls. with_target argument to get_connection sets the spec for this.

Expected behavior

Current behavior

Possible solution

Steps to reproduce

Screenshots

Context

Your Environment

  • Collection:
  • Python:
  • Ansible:
  • PAN-OS Python Library & version (e.g. pandevice 0.14.0, pan-os-python 1.0.2):

alperenkose avatar Aug 08 '24 13:08 alperenkose