Who Me Too'd this topic

Who Me Too'd this topic

L1 Bithead

XML API 7.0 Panorama commit-all solution

Here is a curl example of how to push a shared-policy to a device group in Panorama.  The example in the XML API Reference Guide 7.0 documentation has an url encoding issue due to the space in "entry name"  Another, not so clean approach, is put %20 in the space "entry%20name" if using the example from the documentation


Push configuration to firewalls in a Panorama DeviceGroup


curl -k -d key=$KEY --data-urlencode "cmd=<commit-all><shared-policy><device-group><entry name='DC100-DG'/></device-group></shared-policy></commit-all>" -d 'type=commit' -d 'action=all'


Michael Clark

Palo Alto Networks

Who Me Too'd this topic