Closed jamesholland-uk closed 7 months ago
@btorresgil @shinmog Can you take a look at this proposed change please? The PR fixes an Issue here in pan-os-python
, which itself causes an Issue in pan-os-ansible
which NBS reported. I am fairly sure that my code is one of many, many ways this challenge could be solved, so more than happy to discuss alternatives if you want. Thanks :-)
Description
Attempting to handle "push" to Log Collector Groups (LCG)
Motivation and Context
Attempting to close #487
XML API response from a push to a DG, for example, returns a job ID etc:
XML API response from a push to a LCG looks totally different:
<result>
in the LCG response broke the Ansible module.How Has This Been Tested?
Tested locally. Both native Python scripts and Ansible playbooks now complete successfully.
Python script:
Result before:
Result after:
Ansible playbook:
Result before:
Result after:
Types of changes
Checklist