<?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: Getting Device and Device Pool information in Management</title>
    <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687617#M2913</link>
    <description>&lt;P&gt;Here you go&lt;/P&gt;
&lt;PRE&gt;admin:run sql select d.name,d.description,dp.name as devicepool,m.name as devicemodel,p.name as product,c.name as class from device as d inner join devicepool as dp on d.fkdevicepool = dp.pkid inner join typemodel as m on m.enum = d.tkmodel inner join typeproduct as p on p.tkmodel = d.tkmodel inner join typeclass as c on c.enum = d.tkclass
name                                           description                                   devicepool  devicemodel                             product                                 class                      
============================================== ============================================= =========== ======================================= ======================================= ========================== 
Sample Device Template with TAG usage examples #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template               Phone                      
Auto-registration Template                     #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template               Phone                     &lt;/PRE&gt;</description>
    <pubDate>Tue, 14 Aug 2018 00:19:37 GMT</pubDate>
    <dc:creator>Mohammed Khan</dc:creator>
    <dc:date>2018-08-14T00:19:37Z</dc:date>
    <item>
      <title>Getting Device and Device Pool information</title>
      <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3686895#M2910</link>
      <description>&lt;P&gt;I need help with SQL query to get the Device and Device Pool information. What I need is Device Name, Model name, Description, Product and Pool name. I am using the following query but it's returning only device and device pool name.&lt;/P&gt;
&lt;PRE&gt;select a.name as device, b.name as pool from device as a left join devicepool as b on a.fkdevicepool = b.pkid&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Aug 2018 08:05:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3686895#M2910</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-13T08:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Device and Device Pool information</title>
      <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3686980#M2911</link>
      <description>&lt;P&gt;Try below SQL Query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;admin:run sql select d.name,d.description,dp.name as devicepool,m.name as devicemodel,p.name as product from device as d inner join devicepool as dp on d.fkdevicepool = dp.pkid inner join typemodel as m on m.enum = d.tkmodel inner join typeproduct as p on p.tkmodel = d.tkmodel
name                                           description                                   devicepool  devicemodel                             product                                 
============================================== ============================================= =========== ======================================= ======================================= 
Sample Device Template with TAG usage examples #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template               
Auto-registration Template                     #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Aug 2018 10:55:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3686980#M2911</guid>
      <dc:creator>Mohammed Khan</dc:creator>
      <dc:date>2018-08-13T10:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Device and Device Pool information</title>
      <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687049#M2912</link>
      <description>&lt;P&gt;Thanks, the query worked for me. Just want one quick addition, I also need the Class_type information, but not able to figure out the table name.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 12:49:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687049#M2912</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-13T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Device and Device Pool information</title>
      <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687617#M2913</link>
      <description>&lt;P&gt;Here you go&lt;/P&gt;
&lt;PRE&gt;admin:run sql select d.name,d.description,dp.name as devicepool,m.name as devicemodel,p.name as product,c.name as class from device as d inner join devicepool as dp on d.fkdevicepool = dp.pkid inner join typemodel as m on m.enum = d.tkmodel inner join typeproduct as p on p.tkmodel = d.tkmodel inner join typeclass as c on c.enum = d.tkclass
name                                           description                                   devicepool  devicemodel                             product                                 class                      
============================================== ============================================= =========== ======================================= ======================================= ========================== 
Sample Device Template with TAG usage examples #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template               Phone                      
Auto-registration Template                     #FirstName# #LastName# (#Product# #Protocol#) Default     Universal Device Template               Universal Device Template               Phone                     &lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Aug 2018 00:19:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687617#M2913</guid>
      <dc:creator>Mohammed Khan</dc:creator>
      <dc:date>2018-08-14T00:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Device and Device Pool information</title>
      <link>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687672#M2915</link>
      <description>&lt;P&gt;Thanks for the quick reply.It's working&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 04:38:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/getting-device-and-device-pool-information/m-p/3687672#M2915</guid>
      <dc:creator>AR7</dc:creator>
      <dc:date>2018-08-14T04:38:06Z</dc:date>
    </item>
  </channel>
</rss>

