<?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: Automating site deployments using Network and Switch templates with Ansible or Python+API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451512#M7999</link>
    <description>&lt;P&gt;As far as I know ,currently, Meraki's API does not provide specific endpoints to directly create or manage Switch Templates within Network Templates. The Dashboard API is more focused on device and network-level configurations rather than templates.&lt;/P&gt;&lt;P&gt;Template Management:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can create and manage templates via the API using the /organizations/{organizationId}/configTemplates endpoint.&lt;/LI&gt;&lt;LI&gt;Example: Creating a new template or binding a network to a template.&lt;P&gt;Switch Ports Configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The /devices/{serial}/switchPorts endpoint lets you configure ports, but this applies to individual switches in deployed networks rather than templates.&lt;H3 id="toc-hId-1452894935"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1099262026"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-643548309"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1908608652"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--165798317"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-1577012018"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--975144943"&gt;Suggestions and Alternatives&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Manual Template Setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Since templates must be set up manually, you can focus on using APIs or Ansible modules to automate device-specific configurations post-deployment.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Scripted Automation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For now, use scripts or automation workflows to configure networks/devices systematically after applying templates.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Hybrid Approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Combine manual template creation with automated per-device configuration using Ansible or Python scripts to bridge the gap.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;Please let me know if it helps.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 12 Dec 2024 16:54:39 GMT</pubDate>
    <dc:creator>Vivek5</dc:creator>
    <dc:date>2024-12-12T16:54:39Z</dc:date>
    <item>
      <title>Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451511#M7998</link>
      <description>&lt;P&gt;Hello, we are evaluating using Meraki solutions to deploy networks in office buildings of various sizes, and i would like to do deployments entirely in IaC model, leveraging Network Templates and Switch Templates to reuse standarized configurations as much as possible.&lt;/P&gt;&lt;P&gt;As i was not able to find a guide for such deployments, i would like to ask few questions here.&lt;/P&gt;&lt;P&gt;1. What would be proper workflow for defining and applying reusable configuration in dashboard? I'm assuming:&lt;/P&gt;&lt;P&gt;  - Create Network Template and configure all template configurations according to the needs&lt;/P&gt;&lt;P&gt;  - Create and configure Switch Templates inside a Network Template, which could be attached later to real devices&lt;/P&gt;&lt;P&gt;  - Create a Network from a Network Template - an actual site&lt;/P&gt;&lt;P&gt;  - Claim devices into the Network&lt;/P&gt;&lt;P&gt;  - Attach switch templates to devices, define and build switch stacks in the actual deployed Network (there are no stack templates, right?)&lt;/P&gt;&lt;P&gt;  - Configure exceptions on actual switch ports which would have to differ from applied templates&lt;/P&gt;&lt;P&gt;  Is this correct?&lt;/P&gt;&lt;P&gt; 2. Currently i am trying to map particular dashboard functions to appropriate Ansible modules which would configure that option, and i am not able to find a module for creating a Switch Template inside a Network Template, and configure ports in this template. Which module allows to do this?&lt;/P&gt;&lt;P&gt; 3. The same goes for API documentation, i am not able to find which API call would create Switch Templates in a Network Template and configure the ports in newly created Switch Template. I guess there is an API for that?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wojtek&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 09:32:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451511#M7998</guid>
      <dc:creator>Wojciech Mitus</dc:creator>
      <dc:date>2024-12-12T09:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451512#M7999</link>
      <description>&lt;P&gt;As far as I know ,currently, Meraki's API does not provide specific endpoints to directly create or manage Switch Templates within Network Templates. The Dashboard API is more focused on device and network-level configurations rather than templates.&lt;/P&gt;&lt;P&gt;Template Management:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can create and manage templates via the API using the /organizations/{organizationId}/configTemplates endpoint.&lt;/LI&gt;&lt;LI&gt;Example: Creating a new template or binding a network to a template.&lt;P&gt;Switch Ports Configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The /devices/{serial}/switchPorts endpoint lets you configure ports, but this applies to individual switches in deployed networks rather than templates.&lt;H3 id="toc-hId-1452894935"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1099262026"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-643548309"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1908608652"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--165798317"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-1577012018"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--975144943"&gt;Suggestions and Alternatives&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Manual Template Setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Since templates must be set up manually, you can focus on using APIs or Ansible modules to automate device-specific configurations post-deployment.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Scripted Automation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For now, use scripts or automation workflows to configure networks/devices systematically after applying templates.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Hybrid Approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Combine manual template creation with automated per-device configuration using Ansible or Python scripts to bridge the gap.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;Please let me know if it helps.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 12 Dec 2024 16:54:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451512#M7999</guid>
      <dc:creator>Vivek5</dc:creator>
      <dc:date>2024-12-12T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451513#M8000</link>
      <description>&lt;P&gt;As far as I know ,currently, Meraki's API does not provide specific endpoints to directly create or manage Switch Templates within Network Templates. The Dashboard API is more focused on device and network-level configurations rather than templates.&lt;/P&gt;&lt;P&gt;Template Management:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can create and manage templates via the API using the /organizations/{organizationId}/configTemplates endpoint.&lt;/LI&gt;&lt;LI&gt;Example: Creating a new template or binding a network to a template.&lt;P&gt;Switch Ports Configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The /devices/{serial}/switchPorts endpoint lets you configure ports, but this applies to individual switches in deployed networks rather than templates.&lt;H3 id="toc-hId-1452894938"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1099262023"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-643548312"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--1908608649"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId--165798314"&gt; &lt;/H3&gt;&lt;H3 id="toc-hId-1577012021"&gt;Suggestions and Alternatives&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Manual Template Setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Since templates must be set up manually, you can focus on using APIs or Ansible modules to automate device-specific configurations post-deployment.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Scripted Automation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For now, use scripts or automation workflows to configure networks/devices systematically after applying templates.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Hybrid Approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Combine manual template creation with automated per-device configuration using Ansible or Python scripts to bridge the gap.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;Please let me know if it help&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:05:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451513#M8000</guid>
      <dc:creator>Vivek5</dc:creator>
      <dc:date>2024-12-12T17:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451514#M8001</link>
      <description>&lt;P&gt;If you're going to use the API to manage configuration automation and large-scale change, you would basically not need to use Configuration Templates.    These are generally used as an &lt;EM&gt;alternative&lt;/EM&gt; to the API, for customers who need to be able to make changes at scale and are unaffected by (or can work with) with any of the limitations of Templates and/or maybe don't have available skills in scripting, to make use of the API.   Or they don't wish to purchase an API-driven tool built by one of the many Meraki Ecosystem partners.&lt;/P&gt;&lt;P&gt;Basically you would build the standardised settings in your preferred automation tool and apply them just to your chosen Organizations, Networks, Devices etc. by filtering and iterating appropriately - perhaps through the use of Tags.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:52:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451514#M8001</guid>
      <dc:creator>GreenMan</dc:creator>
      <dc:date>2024-12-12T17:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451515#M8002</link>
      <description>&lt;P&gt;We are using Ansible to deploy Meraki switch configuration. This can easily be done. Our main issue with Meraki templates is that for example you cannot set STP values for stacked devices.&lt;/P&gt;&lt;P&gt;We are looking to do the templating via Ansible. Also we use Netbox as a Dynamic Inventory. I think the combination of the 2 is very strong. But this is my opinion.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 06:39:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451515#M8002</guid>
      <dc:creator>I3udder</dc:creator>
      <dc:date>2024-12-13T06:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automating site deployments using Network and Switch templates with Ansible or Python+API</title>
      <link>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451516#M8003</link>
      <description>&lt;P&gt;Had a talk with Cisco about templates at Cisco Live in Amsterdam. They actually encourage you to stop using templates for networks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 19:23:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/automating-site-deployments-using-network-and-switch-templates/m-p/5451516#M8003</guid>
      <dc:creator>I3udder</dc:creator>
      <dc:date>2025-03-05T19:23:20Z</dc:date>
    </item>
  </channel>
</rss>

