The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
Some testing of PAN-OS responsiveness has lead to the discovery that
a delete() API call of around 25k characters can take anywhere
from 3.3sec to 15sec, depending on the load. All pan-os-python API
calls are expected to complete within 30sec by default. If the API
call takes longer than that to complete, then the call times out
and the delete doesn't seem to take.
Thus, delete_similar() will now break deletes into chunks of
around 25k characters.
Some testing of PAN-OS responsiveness has lead to the discovery that a
delete()
API call of around 25k characters can take anywhere from 3.3sec to 15sec, depending on the load. All pan-os-python API calls are expected to complete within 30sec by default. If the API call takes longer than that to complete, then the call times out and the delete doesn't seem to take.Thus,
delete_similar()
will now break deletes into chunks of around 25k characters.