<?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 Export firewall device state file through panorama using API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/export-firewall-device-state-file-through-panorama-using-api/m-p/218101#M1695</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Team,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Customer want to export firewall device state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They already know how to do this using API directly on the firewall :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -k -o {{Filename}} "https:// {{Firewall_IP}}/api/?type=export&amp;amp;category=device-state&amp;amp;key={{Firewall_API_Key}}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They want to do it through panorama using API. It's looks like we can do that using the following command :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;https:// {{Panorama_IP}}/api/?type=export&amp;amp;category=device-state&amp;amp;target={{Firewall_Serial_Number}}&amp;amp;key={{Panorama_API_Key}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They got this answer :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;response status="success"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;result&amp;gt; Device state device_state_cfg.tgz created successfully&amp;lt;/result&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is they don't know how to retrieve the "device_state_cfg.tgz" file through the API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sam Prabhu&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 22:05:27 GMT</pubDate>
    <dc:creator>sprabhu</dc:creator>
    <dc:date>2018-06-15T22:05:27Z</dc:date>
    <item>
      <title>Export firewall device state file through panorama using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/export-firewall-device-state-file-through-panorama-using-api/m-p/218101#M1695</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Team,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Customer want to export firewall device state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They already know how to do this using API directly on the firewall :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;curl -k -o {{Filename}} "https:// {{Firewall_IP}}/api/?type=export&amp;amp;category=device-state&amp;amp;key={{Firewall_API_Key}}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They want to do it through panorama using API. It's looks like we can do that using the following command :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;https:// {{Panorama_IP}}/api/?type=export&amp;amp;category=device-state&amp;amp;target={{Firewall_Serial_Number}}&amp;amp;key={{Panorama_API_Key}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They got this answer :&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;response status="success"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;result&amp;gt; Device state device_state_cfg.tgz created successfully&amp;lt;/result&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is they don't know how to retrieve the "device_state_cfg.tgz" file through the API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sam Prabhu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 22:05:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/export-firewall-device-state-file-through-panorama-using-api/m-p/218101#M1695</guid>
      <dc:creator>sprabhu</dc:creator>
      <dc:date>2018-06-15T22:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export firewall device state file through panorama using API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/export-firewall-device-state-file-through-panorama-using-api/m-p/241533#M1821</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://jira-hq.paloaltonetworks.local/browse/PAN-80838" target="_blank"&gt;https://jira-hq.paloaltonetworks.local/browse/PAN-80838&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked it with PM,&lt;/P&gt;&lt;P&gt;as of Nov 2018 ,there is no plan to fix this at the moment. If customer needs an enhancement, need to raise clear request to PM.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 05:54:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/export-firewall-device-state-file-through-panorama-using-api/m-p/241533#M1821</guid>
      <dc:creator>sunright</dc:creator>
      <dc:date>2018-11-29T05:54:24Z</dc:date>
    </item>
  </channel>
</rss>

