- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-20-2017 09:25 PM
Is there an API command to do a commit and push in Panorama in 8.0.3? I can only find a commit to panorama or a commit to template. The issue is that in Panorama 8.0 by default the running configuration is pushed out as opposed to the candidate configuration. So it's necessary to commit any changes to Panorama first before pushing it out to a template or device group. I was looking for a one shot way to do this with the API
06-21-2017 11:32 PM - edited 06-21-2017 11:34 PM
Hello,
When using the API to commit on any Panorama version, you must commit to Panorama first, then push to devices. You can't do it in one shot via API. The commit to Panorama is a regular commit. The push to devices is reffered to as a 'commit all' when using the API.
Documentation on both types of commits is available here:
If you're using python, you can also leverage our Device Framework to trigger and manage the commit and commit all operations:
Commit:
http://pandevice.readthedocs.io/en/latest/module-base.html#pandevice.base.PanDevice.commit
Commit All:
06-21-2017 11:32 PM - edited 06-21-2017 11:34 PM
Hello,
When using the API to commit on any Panorama version, you must commit to Panorama first, then push to devices. You can't do it in one shot via API. The commit to Panorama is a regular commit. The push to devices is reffered to as a 'commit all' when using the API.
Documentation on both types of commits is available here:
If you're using python, you can also leverage our Device Framework to trigger and manage the commit and commit all operations:
Commit:
http://pandevice.readthedocs.io/en/latest/module-base.html#pandevice.base.PanDevice.commit
Commit All:
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!