<?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 Re: Request license fetch thru API call on all pan devices in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/396105#M2614</link>
    <description>&lt;P&gt;Do you have Panorama?&amp;nbsp; You can do this via Panorama: Device Deployment: Licenses: Refresh.&amp;nbsp; Clicking Refresh will present a dialogue similar to the commit dialogue when pushing policies/templates to your firewalls.&amp;nbsp; Just select them all and click the Refresh button in the dialogue box.&amp;nbsp; The result should be a refresh of all of your licenses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 19:19:25 GMT</pubDate>
    <dc:creator>msemaniuk</dc:creator>
    <dc:date>2021-04-06T19:19:25Z</dc:date>
    <item>
      <title>Request license fetch thru API call on all pan devices</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/322968#M2269</link>
      <description>&lt;P&gt;we have 200+ pan devices and we recently renewed licenses and now we have to login to each device and click on "retrieve license keys from license&amp;nbsp; server"&lt;I&gt;&amp;nbsp;so i want to automate these using API call,&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I looked into debug clii on, i see below request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pan&amp;gt; request license fetch&lt;BR /&gt;(container-tag: license container-tag: fetch pop-tag: pop-tag:)&lt;BR /&gt;((eol-matched: . #t) (context-inserted-at-end-p: . #f))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;request cmd="op" cookie="8611074432980743" uid="504"&amp;gt;&amp;lt;operations&amp;gt;&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;fetch/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&amp;lt;/operations&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;License entry:&lt;BR /&gt;Feature: Device Management License&lt;BR /&gt;Description: VM Panorama license to manage up to 25 devices&lt;BR /&gt;Serial: XXXXX&lt;BR /&gt;Issued: XXXXX&lt;BR /&gt;Expires: Never&lt;BR /&gt;Expired?: no&lt;/P&gt;&lt;P&gt;&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;BR /&gt;&lt;BR /&gt;now i took above request and running from postman api scripts,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;https://{{firewall&amp;nbsp;&amp;nbsp;ip}}//api?key=&lt;/SPAN&gt;&lt;SPAN class="resolvedVariable"&gt;&lt;SPAN&gt;{{key}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;fetch/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;after this command is run, i looked into api debug but i noticed pan is executing "request license info" instead "request license fetch"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;any faced same issue? if so how to fix this ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;========= RemoteCall: DeviceDirect.getLicensesList =========
[2020/04/15 10:47:39] user=XXXXXXX
&amp;lt;request cmd="op" cookie="XXXXXXX"&amp;gt;
  &amp;lt;operations xml="yes"&amp;gt;
    &amp;lt;request&amp;gt;
      &amp;lt;license&amp;gt;
        &amp;lt;info/&amp;gt;
      &amp;lt;/license&amp;gt;
    &amp;lt;/request&amp;gt;
  &amp;lt;/operations&amp;gt;
&amp;lt;/request&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:39:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/322968#M2269</guid>
      <dc:creator>Vishwanath</dc:creator>
      <dc:date>2020-04-15T18:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Request license fetch thru API call on all pan devices</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/325682#M2284</link>
      <description>&lt;P&gt;If you're sending &lt;CODE&gt;&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;fetch/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&lt;/CODE&gt; it seems impossible that it's executing &lt;CODE&gt;&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;info/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&lt;/CODE&gt;.&amp;nbsp; However, when you do fetch licenses, the XML returned is what you'd get back from running request license info...?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 16:01:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/325682#M2284</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-05-01T16:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Request license fetch thru API call on all pan devices</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/325696#M2289</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/46544"&gt;@gfreeman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you see both commands gave same output but as per my understanding backend operation for these commands does vary right ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when we do "fetch" pan will retrieve the license from PAN portal os PAN licenses server.(same like clicking on PAN web UI - under Device-&amp;gt;licenses-&amp;gt;license management-&amp;gt;retrieve license keys from license server )&lt;/P&gt;&lt;P&gt;when we do "info" pan will give you the out of licenses status on pan device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pan&amp;gt; request license info
(container-tag: license container-tag: info pop-tag: pop-tag:)
((eol-matched: . #t) (context-inserted-at-end-p: . #f))

&amp;lt;request cmd="op" cookie="xxxxxx" uid="504"&amp;gt;&amp;lt;operations&amp;gt;&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;info/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&amp;lt;/operations&amp;gt;&amp;lt;/request&amp;gt;

2020-05-01 09:46:38
&amp;lt;response status="success"&amp;gt;&amp;lt;result&amp;gt;Current GMT Date: May 01, 2020

License entry:
Feature: Device Management License
Description: xxxxxxxx
Serial: xxxxxx
Issued: xxxxxx
Expires: xxxxxxx
Expired?: xxxxxxx

&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;

Current GMT Date: May 01, 2020

License entry:
Feature: Device Management License
Description: xxxxxxxx
Serial: xxxxxx
Issued: xxxxxx
Expires: xxxxxxx
Expired?: xxxxxxx&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;pan&amp;gt; request license fetch
(container-tag: license container-tag: fetch pop-tag: pop-tag:)
((eol-matched: . #t) (context-inserted-at-end-p: . #f))

&amp;lt;request cmd="op" cookie="xxxxxx" uid="504"&amp;gt;&amp;lt;operations&amp;gt;&amp;lt;request&amp;gt;&amp;lt;license&amp;gt;&amp;lt;fetch/&amp;gt;&amp;lt;/license&amp;gt;&amp;lt;/request&amp;gt;&amp;lt;/operations&amp;gt;&amp;lt;/request&amp;gt;

2020-05-01 09:46:31
&amp;lt;response status="success"&amp;gt;&amp;lt;result&amp;gt;Current GMT Date: May 01, 2020

License entry:
Feature: Device Management License
Description: xxxxxxxxx
Serial: xxxxxxx
Issued: xxxxxxx
Expires: xxxxxx
Expired?: xxxxxx

&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;

Current GMT Date: May 01, 2020

License entry:
Feature: Device Management License
Description: xxxxxxx
Serial: xxxxxx
Issued: xxxxxx
Expires: xxxxxx
Expired?: xxxxx&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 16:55:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/325696#M2289</guid>
      <dc:creator>Vishwanath</dc:creator>
      <dc:date>2020-05-01T16:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Request license fetch thru API call on all pan devices</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/396105#M2614</link>
      <description>&lt;P&gt;Do you have Panorama?&amp;nbsp; You can do this via Panorama: Device Deployment: Licenses: Refresh.&amp;nbsp; Clicking Refresh will present a dialogue similar to the commit dialogue when pushing policies/templates to your firewalls.&amp;nbsp; Just select them all and click the Refresh button in the dialogue box.&amp;nbsp; The result should be a refresh of all of your licenses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 19:19:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/request-license-fetch-thru-api-call-on-all-pan-devices/m-p/396105#M2614</guid>
      <dc:creator>msemaniuk</dc:creator>
      <dc:date>2021-04-06T19:19:25Z</dc:date>
    </item>
  </channel>
</rss>

