<?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: SD-Wan set device tag with configuration groups in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324870#M8538</link>
    <description>&lt;P&gt;So wonder if&amp;nbsp;POST /template/device/config/attachfeature which when looking at the API YAML the attach feature device template (which includes tags) might work.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Aug 2025 14:11:52 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2025-08-27T14:11:52Z</dc:date>
    <item>
      <title>SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324779#M8533</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I trying to use the API via python to associate and deploy cat8300, for a customer.&lt;/P&gt;
&lt;P&gt;Right now i can already deploy device with a configuration group using the variable excel export from the gui.&lt;/P&gt;
&lt;P&gt;My issue now is that some configuration groups are "dual router" and for that i need the devices with a tag "EdgeDevice_01" or "EdgeDevice_02". i cannot associate a device to a dual router confgroup without a tag the association fails:&lt;/P&gt;
&lt;P&gt;{"devices": [{"id": "C8K-PAYG-####-###-###"}]}&lt;BR /&gt;{"error":{"message":"Failed to add device to config group","code":"CFGRP0009","details":"Failed to add device to config groupPlease add one of the tags: [EdgeDevice_01, EdgeDevice_02] to each device before associating them to the configuration group: CG-HUB-CPD-TAGUS. Failed devices: [C8K-PAYG-####-###-###]","type":"error"}}&lt;/P&gt;
&lt;P&gt;Anyone knows how can i add a tag to a device?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 11:07:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324779#M8533</guid>
      <dc:creator>racarvalho</dc:creator>
      <dc:date>2025-08-27T11:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324805#M8534</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/122968"&gt;@racarvalho&lt;/a&gt;&amp;nbsp;u'll need to use the API call to update the device and add EdgeDevice_01 or EdgeDevice_02. Once the tag is applied, then and only then, u can associate it to the dual-router config group without errors.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.cisco.com/developer/sd-wan-api-doc" target="_blank"&gt;New Cisco SD-WAN API Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;-Enes&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;CCNP x2 Enterprise&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Your Friendly Networking Ninja&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 11:46:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324805#M8534</guid>
      <dc:creator>Enes Simnica</dc:creator>
      <dc:date>2025-08-27T11:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324823#M8535</link>
      <description>&lt;P&gt;Hi Enes,&lt;/P&gt;
&lt;P&gt;Yes, but whats the api call to add a tag to a device?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 12:44:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324823#M8535</guid>
      <dc:creator>racarvalho</dc:creator>
      <dc:date>2025-08-27T12:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324837#M8536</link>
      <description>&lt;P&gt;It used to be POST&amp;nbsp;&lt;SPAN&gt;/dataservice/system/device/tag with a payload that includes deviceId and the tag name, however i think this endpoint was removed, i do not see this in&amp;nbsp;&amp;nbsp;Release 20.16&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
"create": [
{
"name": "TAG_NAME",
"tagId": "",
"tagType": "device"
}
]
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Which version of SD-WAN are you using and what endpoint produced that error?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 13:17:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324837#M8536</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-08-27T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324843#M8537</link>
      <description>&lt;P&gt;I had seen that in another post, but in my version 20.15.3, it does not exist.&lt;/P&gt;
&lt;P&gt;Also that call creates a tag it does not add it to a device.&lt;/P&gt;
&lt;P&gt;The tag are created by the configuration group, i only need to know how to attach it to a device.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 13:36:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324843#M8537</guid>
      <dc:creator>racarvalho</dc:creator>
      <dc:date>2025-08-27T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324870#M8538</link>
      <description>&lt;P&gt;So wonder if&amp;nbsp;POST /template/device/config/attachfeature which when looking at the API YAML the attach feature device template (which includes tags) might work.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 14:11:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324870#M8538</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-08-27T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324874#M8539</link>
      <description>&lt;P&gt;I don't think that will work, for that i would need a template id, and not a configuration group.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 14:29:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324874#M8539</guid>
      <dc:creator>racarvalho</dc:creator>
      <dc:date>2025-08-27T14:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: SD-Wan set device tag with configuration groups</title>
      <link>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324902#M8540</link>
      <description>&lt;P&gt;In which case i think the option is to gather the edge devices, and assign a tag based on uuid with&amp;nbsp;/dataservice/system/device/{DEVICE_UUID} and the set the&amp;nbsp;payload = {"tags": new_tags}, i tried a script for this on the devnet sandbox, but it is read only, however based on the 403 reply, it was ok to work, but i dont have auth to confirm this.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 15:18:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/sd-wan-set-device-tag-with-configuration-groups/m-p/5324902#M8540</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-08-27T15:18:14Z</dc:date>
    </item>
  </channel>
</rss>

