<?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: Automate SDWAN Device Templates Editing in DevNet General Discussions</title>
    <link>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074641#M2437</link>
    <description>&lt;P class="whitespace-pre-wrap break-words"&gt;Here are a few relevant endpoints for managing device templates:&lt;BR /&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;List Device Templates&amp;nbsp;&lt;/STRONG&gt;GET &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Get Device Template Details&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap" style="-webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;/dataservice/template/device/object/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Create/Edit Device Template&amp;nbsp;&lt;/STRONG&gt;PUT &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Delete Device Template&amp;nbsp;&lt;/STRONG&gt;DELETE &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Attach Device Template to Devices/Device Groups&amp;nbsp;&lt;/STRONG&gt;POST &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/config/attachedviadevicetemplate&lt;/CODE&gt;&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;You can find detailed documentation and examples in the Cisco SD-WAN REST API Guide for the specific version you're running The guide should provide information on authentication, request/response formats, and specific parameters required for each API endpoint.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;To automate the process of editing device templates at specific time periods, you can develop a script or application that leverages the vManage REST API. This script can retrieve the existing device template, make the desired modifications, and then update the template using the appropriate API endpoint. You can schedule this script to run at the required time intervals using cron jobs or other scheduling mechanisms.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Apr 2024 12:26:52 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2024-04-21T12:26:52Z</dc:date>
    <item>
      <title>Automate SDWAN Device Templates Editing</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074497#M2435</link>
      <description>&lt;P&gt;We need to apply time based policies for our customer's SDWAN solution. We can&amp;nbsp; do that manually but we cannot maintain it for a long periods of time. So the easiest way we came up with is to edit the device templates&amp;nbsp;@ the needed time period &amp;amp; we need to automate this process.&lt;/P&gt;
&lt;P&gt;Is there an SDWAN API that allows us to manipulate/edit device templates that have multiple devices attached to them? We are running on controllers version 20.9.3.0.17&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2024 17:52:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074497#M2435</guid>
      <dc:creator>Humonculus</dc:creator>
      <dc:date>2024-04-20T17:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SDWAN Device Templates Editing</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074595#M2436</link>
      <description>&lt;P&gt;As per i know you&amp;nbsp; can use vManage and change the templates attached the devices.&lt;/P&gt;
&lt;P&gt;never tried API - please check the below documentation may help you :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/sdwan/sd-wan-vmanage-v20-13/" target="_blank"&gt;https://developer.cisco.com/docs/sdwan/sd-wan-vmanage-v20-13/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/sdwan/?utm_campaign=sdwan20&amp;amp;utm_source=devblog&amp;amp;utm_medium=stuartclark-may26webinar" target="_blank"&gt;https://developer.cisco.com/sdwan/?utm_campaign=sdwan20&amp;amp;utm_source=devblog&amp;amp;utm_medium=stuartclark-may26webinar&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 07:50:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074595#M2436</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2024-04-21T07:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SDWAN Device Templates Editing</title>
      <link>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074641#M2437</link>
      <description>&lt;P class="whitespace-pre-wrap break-words"&gt;Here are a few relevant endpoints for managing device templates:&lt;BR /&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;List Device Templates&amp;nbsp;&lt;/STRONG&gt;GET &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Get Device Template Details&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap" style="-webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;/dataservice/template/device/object/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Create/Edit Device Template&amp;nbsp;&lt;/STRONG&gt;PUT &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Delete Device Template&amp;nbsp;&lt;/STRONG&gt;DELETE &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/{templateId}&lt;BR /&gt;&lt;/CODE&gt;&lt;STRONG style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;"&gt;Attach Device Template to Devices/Device Groups&amp;nbsp;&lt;/STRONG&gt;POST &lt;CODE class="bg-bg-300 px-1 py-px text-accent-secondary-000 rounded-[0.3rem] text-[0.95em] whitespace-pre-wrap"&gt;/dataservice/template/device/config/attachedviadevicetemplate&lt;/CODE&gt;&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;You can find detailed documentation and examples in the Cisco SD-WAN REST API Guide for the specific version you're running The guide should provide information on authentication, request/response formats, and specific parameters required for each API endpoint.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;To automate the process of editing device templates at specific time periods, you can develop a script or application that leverages the vManage REST API. This script can retrieve the existing device template, make the desired modifications, and then update the template using the appropriate API endpoint. You can schedule this script to run at the required time intervals using cron jobs or other scheduling mechanisms.&lt;/P&gt;
&lt;P class="whitespace-pre-wrap break-words"&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 12:26:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-general-discussions/automate-sdwan-device-templates-editing/m-p/5074641#M2437</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-04-21T12:26:52Z</dc:date>
    </item>
  </channel>
</rss>

