<?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: Commit DNA Center configuration template after update via API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4678123#M8861</link>
    <description>&lt;P&gt;Awesome! Love to hear it.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 13:44:58 GMT</pubDate>
    <dc:creator>Andrea Testino</dc:creator>
    <dc:date>2022-08-29T13:44:58Z</dc:date>
    <item>
      <title>Commit DNA Center configuration template after update via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4675797#M8858</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to manage the lifecycle of my configuration templates through GitHub and have them sync with different DNA Center instances through the use of dynamic runners.&lt;/P&gt;&lt;P&gt;I have the same issue with both the terraform provider, and the Python dnacentersdk library.&lt;/P&gt;&lt;P&gt;I can update or create the template into the different DNA Center instances, but I cannot commit them.&amp;nbsp; There doesn´t seem to be a parameter to commit these templates via API.&lt;/P&gt;&lt;P&gt;Does someone know if this can be acheived?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DNA Center 2.3.3.4.72142&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Python SDK:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dnacentersdk.readthedocs.io/en/latest/api/api.html#configuration-templates-2-3-3-0:~:text=configuration_archive-,configuration_templates,-device_onboarding_pnp" target="_blank"&gt;https://dnacentersdk.readthedocs.io/en/latest/api/api.html#configuration-templates-2-3-3-0:~:text=configuration_archive-,configuration_templates,-device_onboarding_pnp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Terraform:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://registry.terraform.io/providers/cisco-en-programmability/dnacenter/latest/docs/resources/configuration_template" target="_blank"&gt;https://registry.terraform.io/providers/cisco-en-programmability/dnacenter/latest/docs/resources/configuration_template&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 05:56:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4675797#M8858</guid>
      <dc:creator>BenEa</dc:creator>
      <dc:date>2022-08-26T05:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Commit DNA Center configuration template after update via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4676726#M8859</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;
&lt;P&gt;Have you tried setting the "&lt;STRONG&gt;version&lt;/STRONG&gt;"&amp;nbsp;parameter when using &lt;STRONG&gt;create_template&lt;/STRONG&gt; or &lt;STRONG&gt;update_template&lt;/STRONG&gt; when using the PythonSDK or&amp;nbsp;when using the Terraform "&lt;STRONG&gt;dnacenter_configuration_template&lt;/STRONG&gt;" resource?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should mark the template as committed and allow you to use it to deploy to devices.&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://developer.cisco.com/docs/dna-center/#!device-onboarding/configuration-template-api" target="_blank" rel="noopener"&gt;Template Management API doc&lt;/A&gt; shows the process (without using the PythonSDK or Terraform, though, the idea should be the same.)&lt;/P&gt;
&lt;P&gt;I don't have a DNAC handy right now but let me know if that doesn't work and I can tinker with it this week.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2022 14:03:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4676726#M8859</guid>
      <dc:creator>Andrea Testino</dc:creator>
      <dc:date>2022-08-27T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Commit DNA Center configuration template after update via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4677993#M8860</link>
      <description>&lt;P&gt;Thanks Andrea, with the python SDK .configuration_templates.version_template worked!&amp;nbsp; I couldn´t get it to work with the Terraform provider, I will stay with python on this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 09:56:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4677993#M8860</guid>
      <dc:creator>BenEa</dc:creator>
      <dc:date>2022-08-29T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Commit DNA Center configuration template after update via API</title>
      <link>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4678123#M8861</link>
      <description>&lt;P&gt;Awesome! Love to hear it.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:44:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/commit-dna-center-configuration-template-after-update-via-api/m-p/4678123#M8861</guid>
      <dc:creator>Andrea Testino</dc:creator>
      <dc:date>2022-08-29T13:44:58Z</dc:date>
    </item>
  </channel>
</rss>

