Hey guys, so I've got the various Palo Alto PA220 XML Apis that lets you automatically update the Firewall instead of having to do it through the GUI interface.
I want to know what is the best way to create a script to do this automatically so I don't have to do this manually step by step.
You effectively need to create a script to have the firewall start the software download and gather the job-id issued with that request. You'll then need to run a check against that job-id so you can see when it actually finishes.
Once the requested version is downloaded you would then schedule the install with the API and record the job-id once again. You'll need to run periodic checks against that job-id to see when the software install has actually completed.
Lastly you'll need to actually restart the device, which is easily triggered by the API.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!