<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic XML API 7.0 Panorama commit-all solution in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-7-0-panorama-commit-all-solution/m-p/69374#M1190</link>
    <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here is a curl example of how to push a shared-policy to a device group in Panorama. &amp;nbsp;The example in the XML API Reference Guide 7.0 documentation has an url encoding issue due to the space in "entry name" &amp;nbsp;Another, not so&amp;nbsp;clean approach, is put %20 in the space "entry%20name" if using the example from the documentation&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Push configuration to firewalls in a Panorama DeviceGroup&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;curl -k -d key=$KEY --data-urlencode "cmd=&amp;lt;commit-all&amp;gt;&amp;lt;shared-policy&amp;gt;&amp;lt;device-group&amp;gt;&amp;lt;entry name='DC100-DG'/&amp;gt;&amp;lt;/device-group&amp;gt;&amp;lt;/shared-policy&amp;gt;&amp;lt;/commit-all&amp;gt;" -d 'type=commit' -d 'action=all'&amp;nbsp;&lt;A href="https://192.168.55.5/api/" target="_blank"&gt;&lt;SPAN class="s2"&gt;https://192.168.55.5/api/&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="s2"&gt;Michael Clark&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="s2"&gt;Palo Alto Networks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2015 16:28:06 GMT</pubDate>
    <dc:creator>miclark1</dc:creator>
    <dc:date>2015-12-11T16:28:06Z</dc:date>
    <item>
      <title>XML API 7.0 Panorama commit-all solution</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-7-0-panorama-commit-all-solution/m-p/69374#M1190</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here is a curl example of how to push a shared-policy to a device group in Panorama. &amp;nbsp;The example in the XML API Reference Guide 7.0 documentation has an url encoding issue due to the space in "entry name" &amp;nbsp;Another, not so&amp;nbsp;clean approach, is put %20 in the space "entry%20name" if using the example from the documentation&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Push configuration to firewalls in a Panorama DeviceGroup&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;curl -k -d key=$KEY --data-urlencode "cmd=&amp;lt;commit-all&amp;gt;&amp;lt;shared-policy&amp;gt;&amp;lt;device-group&amp;gt;&amp;lt;entry name='DC100-DG'/&amp;gt;&amp;lt;/device-group&amp;gt;&amp;lt;/shared-policy&amp;gt;&amp;lt;/commit-all&amp;gt;" -d 'type=commit' -d 'action=all'&amp;nbsp;&lt;A href="https://192.168.55.5/api/" target="_blank"&gt;&lt;SPAN class="s2"&gt;https://192.168.55.5/api/&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="s2"&gt;Michael Clark&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="s2"&gt;Palo Alto Networks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 16:28:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-7-0-panorama-commit-all-solution/m-p/69374#M1190</guid>
      <dc:creator>miclark1</dc:creator>
      <dc:date>2015-12-11T16:28:06Z</dc:date>
    </item>
  </channel>
</rss>

