This is a code example to demonstrate the use of Palo Alto API. Suppose I need to create pool.ntp.org firewall objects. Here's the code sample: The result look like this:
Tag: palo alto api
[python]Create and update object groups
I am experimenting a real life example, when server is created the hostname and ip address are assigned by an orchestrator. The orchestrator will then call the python script and pass the hostname to be object entry name and ip address. This is the code sample. I referred to this link to understand the xml … Continue reading [python]Create and update object groups