<?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: Correlation between get device and get device config requests in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503068#M988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks Adam for the reply. I was wrongly assuming that &lt;/SPAN&gt;id&lt;SPAN style="font-size: 13.3333px;"&gt; associated with config file is the device id. Now I understand. I was hoping to get all device config in one request and then associate these with respective devices. But I believe there's no such shortcut, I would have to send separate request to get each device config as you have mentioned above.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 06:52:31 GMT</pubDate>
    <dc:creator>uwankhed</dc:creator>
    <dc:date>2017-12-12T06:52:31Z</dc:date>
    <item>
      <title>Correlation between get device and get device config requests</title>
      <link>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503066#M986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using these 2 requests to get all network devices and config for all these devices:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;1. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sandboxapic.cisco.com/api/v1/network-device" rel="nofollow" target="_blank"&gt;http://sandboxapic.cisco.com/api/v1/network-device&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sandboxapic.cisco.com/api/v1/network-device/config" rel="nofollow" target="_blank"&gt;http://sandboxapic.cisco.com/api/v1/network-device/config&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;But the device id list returned by these 2 requests doesn't match. So I cannot correlate and find out which config output belongs to which device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I know that I can execute config request per device, but that would result in too many requests, thus defeating the purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Is this by design or bug or am I missing something obvious?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device id list returned as part of 1st command&lt;/P&gt;&lt;P class="p1"&gt;"id": "cd6d9b24-839b-4d58-adfe-3fdf781e1782"&lt;/P&gt;&lt;P class="p1"&gt;"id": "26450a30-57d8-4b56-b8f1-6fc535d67645"&lt;/P&gt;&lt;P class="p1"&gt;"id": "0dd240fd-5cca-4774-a801-9f1c04edcc70"&lt;/P&gt;&lt;P class="p1"&gt;"id": "d337811b-d371-444c-a49f-9e2791f955b4"&lt;/P&gt;&lt;P class="p1"&gt;"id": "5b5ea8da-8c23-486a-b95e-7429684d25fc"&lt;/P&gt;&lt;P class="p1"&gt;"id": "30d39b18-9ada-4148-ad6c-2ee20975b845"&lt;/P&gt;&lt;P class="p1"&gt;"id": "1b329f52-95eb-44ad-9314-55932162ab86"&lt;/P&gt;&lt;P class="p1"&gt;"id": "c8ed3e49-5eeb-4dee-b120-edeb179c8394"&lt;/P&gt;&lt;P class="p1"&gt;"id": "4af8bf34-295f-46f4-97b7-0a2d2ea4cf22"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;"id": "9712ab62-6140-43fd-b1ee-1b07d1fb67d7"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;"id": "55450140-de19-47b5-ae80-bfd741b23fd9"&lt;/P&gt;&lt;P class="p1"&gt;"id": "ae19cd21-1b26-4f58-8ccd-d265deabb6c3"&lt;/P&gt;&lt;P class="p1"&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Device id list returned as part of 2nd command:&lt;/P&gt;&lt;P class="p1"&gt;"id": "3f5fce09-5059-44f9-b388-b732b310bb3a"&lt;/P&gt;&lt;P class="p1"&gt;"id": "883fdd02-8a94-4369-912c-78580c0cbdab"&lt;/P&gt;&lt;P class="p1"&gt;"id": "ecba86e8-bbdc-4680-abd0-f4a9f0695c6b"&lt;/P&gt;&lt;P class="p1"&gt;"id": "46f771f3-f3d3-4c0a-b385-c4b87bd46fba"&lt;/P&gt;&lt;P class="p1"&gt;"id": "199344f7-1260-477f-9169-f15cc6a3c24f"&lt;/P&gt;&lt;P class="p1"&gt;"id": "1a2490d0-3713-4c4d-8681-6139cfcc2758"&lt;/P&gt;&lt;P class="p1"&gt;"id": "f0424d6b-4c33-4424-9bed-98f6795b4ba8"&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;"id": "438a5c6e-cb4b-450d-981b-52a4e3f43115"&lt;/P&gt;&lt;P class="p1"&gt;"id": "1c3647d0-e426-431a-b9be-cdc1870883bf"&lt;/P&gt;&lt;P class="p1"&gt;"id": "aac41324-cb34-41bb-b7b0-06d8bbab9a51"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:42:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503066#M986</guid>
      <dc:creator>uwankhed</dc:creator>
      <dc:date>2019-03-01T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between get device and get device config requests</title>
      <link>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503067#M987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the id (UUID) is specific to the particular resource.&amp;nbsp; You can think of it as a primary key in a database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every network device has an id that can be used to identify it.&amp;nbsp; For example "&lt;SPAN style="color: #3d3d3d; font-family: arial; font-size: 12px;"&gt;cd6d9b24-839b-4d58-adfe-3fdf781e1782&lt;/SPAN&gt;" will identify a particular network device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly every configuration has an id, to identify that configuration file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the config file for a specific network device by using the id of the network device.&amp;nbsp; For example, if i take the second device (id=26450a30-57d8-4b56-b8f1-6fc535d67645),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the configuration file for that device with the following request.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; background-color: #6e6e6e;"&gt;network-device/26450a30-57d8-4b56-b8f1-6fc535d67645/config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: you need to use the ID of the network-device, not the configuration file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also need to be careful about the config file for an access point.&amp;nbsp; They do not really have a configuration file as the WLC will have that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:07:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503067#M987</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-12-12T06:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation between get device and get device config requests</title>
      <link>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503068#M988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks Adam for the reply. I was wrongly assuming that &lt;/SPAN&gt;id&lt;SPAN style="font-size: 13.3333px;"&gt; associated with config file is the device id. Now I understand. I was hoping to get all device config in one request and then associate these with respective devices. But I believe there's no such shortcut, I would have to send separate request to get each device config as you have mentioned above.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 06:52:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/correlation-between-get-device-and-get-device-config-requests/m-p/3503068#M988</guid>
      <dc:creator>uwankhed</dc:creator>
      <dc:date>2017-12-12T06:52:31Z</dc:date>
    </item>
  </channel>
</rss>

