<?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: CUCM 10 and later License Update Usage Details via API in Management</title>
    <link>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4081095#M3393</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response. I need the "click" to take place within the script.&lt;/P&gt;&lt;P&gt;I am using Python 3 to create the script so I guess I could look for a browser automation python library.&lt;/P&gt;&lt;P&gt;A quick search indicates that Selenium might fit the bill - anyone used it to automate CUCM clicks?&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 08:47:49 GMT</pubDate>
    <dc:creator>James Hawkins</dc:creator>
    <dc:date>2020-05-07T08:47:49Z</dc:date>
    <item>
      <title>CUCM 10 and later License Update Usage Details via API</title>
      <link>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4073468#M3383</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been working on some python scripts that allocate owners to devices within CUCM.&lt;/P&gt;&lt;P&gt;Before I do any of this I get the current license usage from CUCM (not PLM) using the SQL request shown below.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;SELECT name,value FROM TABLE( FUNCTION LicenseTotals() )(pkid,name,value,UserValue,DeviceValue)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;name value&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;================= =====================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;CUWL Standard 24&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;EnhancedPlus 28&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Enhanced 72&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Basic 9&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Essential 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;TelePresence Room 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;TotalUsers 76&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;TotalDevices 60&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Timestamp 2020-04-24 11:12:15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ElmLastContact 1541032241&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Elm NP-L-CUCM1.acme.com&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;After my script updates device ownership I would like to update the device ownership and re-run the SQL command. The device ownership can be updated by clicking the &lt;STRONG&gt;Update Usage Details&lt;/STRONG&gt; button under the CUCM &lt;EM&gt;System &amp;gt; License &amp;gt; License Management&lt;/EM&gt; menu.&lt;/P&gt;&lt;P&gt;My query is can I update the license usage details using AXL? - if not then is there any other way of doing it from a python script?&lt;/P&gt;&lt;P&gt;Note the AXL interface&amp;nbsp;updateLicenseCapabilities is not the answer - this was for pre-9.0 CUCM releases.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 15:03:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4073468#M3383</guid>
      <dc:creator>James Hawkins</dc:creator>
      <dc:date>2020-04-24T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: CUCM 10 and later License Update Usage Details via API</title>
      <link>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4081034#M3388</link>
      <description>&lt;P&gt;So you want to assigne users to be the owner of an device.&lt;/P&gt;&lt;P&gt;After this you want the CUCM to update the Usage Report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not have a look into AXL Documentation yet but why don't you use the Web for this one click?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 07:21:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4081034#M3388</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2020-05-07T07:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: CUCM 10 and later License Update Usage Details via API</title>
      <link>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4081095#M3393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response. I need the "click" to take place within the script.&lt;/P&gt;&lt;P&gt;I am using Python 3 to create the script so I guess I could look for a browser automation python library.&lt;/P&gt;&lt;P&gt;A quick search indicates that Selenium might fit the bill - anyone used it to automate CUCM clicks?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 08:47:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cucm-10-and-later-license-update-usage-details-via-api/m-p/4081095#M3393</guid>
      <dc:creator>James Hawkins</dc:creator>
      <dc:date>2020-05-07T08:47:49Z</dc:date>
    </item>
  </channel>
</rss>

