<?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: PanOS7.1 Panorama API how can I find out if the Device group is locked? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos7-1-panorama-api-how-can-i-find-out-if-the-device-group-is/m-p/78336#M1226</link>
    <description>&lt;P&gt;You can get all locks using the operational command API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://&amp;lt;panorama&amp;gt;/api/?key=&amp;lt;your-API-key&amp;gt;&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;commit-locks/&amp;gt;&amp;lt;/show&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Note: &amp;nbsp;That API call will retreive the commit locks. &amp;nbsp;For config locks, change &lt;FONT color="#0000FF"&gt;&amp;lt;commit-locks/&amp;gt;&lt;/FONT&gt; to &lt;FONT color="#0000FF"&gt;&amp;lt;config-locks/&amp;gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following text is an example response from that API call perfomed on Panorama 7.1.0. &amp;nbsp;There are two locks in the example output below. &amp;nbsp;You can tell by the lines in red that one of these locks is global (shared) and one of these locks is specific to a device-group called "My Device Group".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;response status="success"&amp;gt;
    &amp;lt;result&amp;gt;
        &amp;lt;commit-locks&amp;gt;
            &amp;lt;entry name="admin"&amp;gt;
                &lt;FONT color="#993300"&gt;&amp;lt;type&amp;gt;dg&amp;lt;/type&amp;gt;&lt;/FONT&gt;
                &lt;FONT color="#993300"&gt;&amp;lt;name&amp;gt;My Device Group&amp;lt;/name&amp;gt;&lt;/FONT&gt;
                &amp;lt;created&amp;gt;2016/05/18 20:17:41&amp;lt;/created&amp;gt;
                &amp;lt;last-activity&amp;gt;2016/05/18 20:17:41&amp;lt;/last-activity&amp;gt;
                &amp;lt;loggedin&amp;gt;yes&amp;lt;/loggedin&amp;gt;
                &amp;lt;comment&amp;gt;
                    &amp;lt;![CDATA[This is a device-group lock]]&amp;gt;
                &amp;lt;/comment&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="admin"&amp;gt;
                &lt;FONT color="#993300"&gt;&amp;lt;type&amp;gt;shared&amp;lt;/type&amp;gt;
                &amp;lt;name&amp;gt;shared&amp;lt;/name&amp;gt;&lt;/FONT&gt;
                &amp;lt;created&amp;gt;2016/05/18 20:17:43&amp;lt;/created&amp;gt;
                &amp;lt;last-activity&amp;gt;2016/05/18 20:17:43&amp;lt;/last-activity&amp;gt;
                &amp;lt;loggedin&amp;gt;yes&amp;lt;/loggedin&amp;gt;
                &amp;lt;comment&amp;gt;
                    &amp;lt;![CDATA[This is a global (shared) lock]]&amp;gt;
                &amp;lt;/comment&amp;gt;
            &amp;lt;/entry&amp;gt;
        &amp;lt;/commit-locks&amp;gt;
    &amp;lt;/result&amp;gt;
&amp;lt;/response&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 May 2016 20:34:39 GMT</pubDate>
    <dc:creator>btorresgil</dc:creator>
    <dc:date>2016-05-18T20:34:39Z</dc:date>
    <item>
      <title>PanOS7.1 Panorama API how can I find out if the Device group is locked?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos7-1-panorama-api-how-can-i-find-out-if-the-device-group-is/m-p/78273#M1225</link>
      <description />
      <pubDate>Wed, 18 May 2016 07:56:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos7-1-panorama-api-how-can-i-find-out-if-the-device-group-is/m-p/78273#M1225</guid>
      <dc:creator>reuven.attias</dc:creator>
      <dc:date>2016-05-18T07:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: PanOS7.1 Panorama API how can I find out if the Device group is locked?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos7-1-panorama-api-how-can-i-find-out-if-the-device-group-is/m-p/78336#M1226</link>
      <description>&lt;P&gt;You can get all locks using the operational command API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://&amp;lt;panorama&amp;gt;/api/?key=&amp;lt;your-API-key&amp;gt;&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;commit-locks/&amp;gt;&amp;lt;/show&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Note: &amp;nbsp;That API call will retreive the commit locks. &amp;nbsp;For config locks, change &lt;FONT color="#0000FF"&gt;&amp;lt;commit-locks/&amp;gt;&lt;/FONT&gt; to &lt;FONT color="#0000FF"&gt;&amp;lt;config-locks/&amp;gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following text is an example response from that API call perfomed on Panorama 7.1.0. &amp;nbsp;There are two locks in the example output below. &amp;nbsp;You can tell by the lines in red that one of these locks is global (shared) and one of these locks is specific to a device-group called "My Device Group".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;response status="success"&amp;gt;
    &amp;lt;result&amp;gt;
        &amp;lt;commit-locks&amp;gt;
            &amp;lt;entry name="admin"&amp;gt;
                &lt;FONT color="#993300"&gt;&amp;lt;type&amp;gt;dg&amp;lt;/type&amp;gt;&lt;/FONT&gt;
                &lt;FONT color="#993300"&gt;&amp;lt;name&amp;gt;My Device Group&amp;lt;/name&amp;gt;&lt;/FONT&gt;
                &amp;lt;created&amp;gt;2016/05/18 20:17:41&amp;lt;/created&amp;gt;
                &amp;lt;last-activity&amp;gt;2016/05/18 20:17:41&amp;lt;/last-activity&amp;gt;
                &amp;lt;loggedin&amp;gt;yes&amp;lt;/loggedin&amp;gt;
                &amp;lt;comment&amp;gt;
                    &amp;lt;![CDATA[This is a device-group lock]]&amp;gt;
                &amp;lt;/comment&amp;gt;
            &amp;lt;/entry&amp;gt;
            &amp;lt;entry name="admin"&amp;gt;
                &lt;FONT color="#993300"&gt;&amp;lt;type&amp;gt;shared&amp;lt;/type&amp;gt;
                &amp;lt;name&amp;gt;shared&amp;lt;/name&amp;gt;&lt;/FONT&gt;
                &amp;lt;created&amp;gt;2016/05/18 20:17:43&amp;lt;/created&amp;gt;
                &amp;lt;last-activity&amp;gt;2016/05/18 20:17:43&amp;lt;/last-activity&amp;gt;
                &amp;lt;loggedin&amp;gt;yes&amp;lt;/loggedin&amp;gt;
                &amp;lt;comment&amp;gt;
                    &amp;lt;![CDATA[This is a global (shared) lock]]&amp;gt;
                &amp;lt;/comment&amp;gt;
            &amp;lt;/entry&amp;gt;
        &amp;lt;/commit-locks&amp;gt;
    &amp;lt;/result&amp;gt;
&amp;lt;/response&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 May 2016 20:34:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/panos7-1-panorama-api-how-can-i-find-out-if-the-device-group-is/m-p/78336#M1226</guid>
      <dc:creator>btorresgil</dc:creator>
      <dc:date>2016-05-18T20:34:39Z</dc:date>
    </item>
  </channel>
</rss>

