I am writing a script in python using pan-python module to automate Prisma Access onboarding. I can create all kinds configurations and commit changes to Panorama, but I can't seem to find "push to devices" for Prisma access in the API, which is the main purpose of this automation!
Has anyone done it before or have an idea on how to push to Prisma with API?
xapi.commit(cmd="<commit-all></commit-all>", action=all, sync=False, interval=None, timeout=None)
except pan.xapi.PanXapiError as msg:
print('commit: ', msg, file=sys.stderr)
Solved! Go to Solution.
Hi there S,
Please try this:
Note, this was last tested with GPCS about a year ago, and there have been some changes, so I'm not 100% sure this will work as-is for you. Good luck and let us know if this works for you.
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 Live Community as a whole!
The Live Community thanks you for your participation!