<?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 API set command always results in pending configuration changes in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-set-command-always-results-in-pending-configuration-changes/m-p/221649#M1722</link>
    <description>&lt;P&gt;I'm running the following API call to change the device geo-location (which works):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/api/?type=config&amp;amp;action=set&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;element=&amp;lt;deviceconfig&amp;gt;&amp;lt;system&amp;gt;&amp;lt;geo-location&amp;gt;&amp;lt;latitude&amp;gt;&lt;STRONG&gt;111&lt;/STRONG&gt;&amp;lt;/latitude&amp;gt;&amp;lt;/geo-location&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/deviceconfig&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'd also like to validate whether that command updates the configuration or not. Every time I run the call, even if the current configuration is set to 111 (as above), the device shows pending changes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;The preview changes report shows no changes, but there is a pending item in 'change summary' which is of type 'Storage Parition - Setup' as below.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Wondering if this is the intended behaviour?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pending-changes.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/15861i80B3C9339691D91E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="pending-changes.png" alt="pending-changes.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 11 Jul 2018 02:08:19 GMT</pubDate>
    <dc:creator>matthew.freeman</dc:creator>
    <dc:date>2018-07-11T02:08:19Z</dc:date>
    <item>
      <title>API set command always results in pending configuration changes</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-set-command-always-results-in-pending-configuration-changes/m-p/221649#M1722</link>
      <description>&lt;P&gt;I'm running the following API call to change the device geo-location (which works):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/api/?type=config&amp;amp;action=set&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;element=&amp;lt;deviceconfig&amp;gt;&amp;lt;system&amp;gt;&amp;lt;geo-location&amp;gt;&amp;lt;latitude&amp;gt;&lt;STRONG&gt;111&lt;/STRONG&gt;&amp;lt;/latitude&amp;gt;&amp;lt;/geo-location&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/deviceconfig&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'd also like to validate whether that command updates the configuration or not. Every time I run the call, even if the current configuration is set to 111 (as above), the device shows pending changes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;The preview changes report shows no changes, but there is a pending item in 'change summary' which is of type 'Storage Parition - Setup' as below.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Wondering if this is the intended behaviour?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pending-changes.png" style="width: 800px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/15861i80B3C9339691D91E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="pending-changes.png" alt="pending-changes.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jul 2018 02:08:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-set-command-always-results-in-pending-configuration-changes/m-p/221649#M1722</guid>
      <dc:creator>matthew.freeman</dc:creator>
      <dc:date>2018-07-11T02:08:19Z</dc:date>
    </item>
  </channel>
</rss>

