- This robot vacuum has a side-mounted handheld vacuum and is $380 off for Black Friday
- This 2 TB Samsung 990 Pro M.2 SSD is on sale for $160 this Black Friday
- Buy Microsoft Visio Professional or Microsoft Project Professional 2024 for just $80
- Get Microsoft Office Pro and Windows 11 Pro for 87% off with this bundle
- Buy or gift a Babbel subscription for 78% off to learn a new language - new low price
Learn How to Get Started with DNA Center Templates
Overview
DNA Center is maturing into a very robust tool for the network administrator. The lessons learned over a decade from Prime guided us toward a tool that will transform the future of networks. Prime has served many organizations for over a decade; DNA Centers’ capabilities and unique UI make it a robust successor. Additionally, DNA Center can easily accomplish various network automation tasks that would ordinarily take days to achieve. Lastly, to aid in understanding DNA Center’s capabilities, we provide a helpful DNA Center template tutorial.
Secondly, an area where DNA Center excels is in the area of automation. DNA Center uses a simple hierarchical workflow mechanism that enables the deployment of network settings, credentials, images, and templates to the network. DNA Center’s hierarchical approach to intent automates and provides policy continuity.
Finally, many will probably find the whole prospect of change and the development of automation templates a daunting task. It may seem cumbersome to revisit today’s methods to build configurations. As a result, reviewing their construction and changing their deployment approach may feel a little overwhelming.
How?
To aid customers in the transition toward automation, we have put together a set of small helpful tutorials within a Github repository. As a result, we hope to demystify some of the complexities of setting up plug-and-play and help guide customers through the complexities. In this way, the tutorial provides a glimpse into the fundamentals of building velocity templates and provides examples that you can download and expand from. These sample templates and JSON files are supplied for easy import into DNA Centers’ template editor for quicker adoption.
Firstly, we delve into the concepts of building templates and methodologies for using both Onboarding and DayN templates at length. Secondly, answers to many of the questions that come up during automation workshops are explained. The hope is that you find the information both helpful and informative. Thus, information is included, which will hopefully give a well-rounded explanation of automation methods and concepts.
The DNAC-TEMPLATES repository includes scripts and samples of:
- Velocity Scripting
- Variables
- Binding Variables
- Composite Templates
These samples build a tutorial that aims to be a practical guide to aid engineers to rapidly begin using DNA Center automation and help them work towards a template strategy. This will enable engineers to reduce the time and effort needed to instantiate the network.
As a result, the tutorial also does an in-depth flyby about setting up Plug and Play onboarding and templates. Additionally, it has a section on advanced velocity templating and troubleshooting tools which may help during faultfinding to determine what is failing in a deployment.
In order to keep this repository relevant, new content is added frequently to the repository DNAC-TEMPLATES, so stay tuned…
Furthermore, the repository is also directly available from Github at DNAC-TEMPLATES.
Intent-Based Networking
To deploy Intent, we use combinations of either one or multiple templates and the Design Settings and Policies within the UI. Lastly, Day N methods allow for one or multiple templates by using composite templates that combine many regular templates into one logical flow.
Additionally:
- Intent is a combination of configuration templates, configuration, policy, code, and settings.
- Logical constructs modify or choose between various results via decision (‘IF’) statements.
- Looping structures within the template allow for repetition of configuration
- Variables may be used when the device is being onboarded or provisioned
Sections
Please use this menu to navigate the various sections of this Github repository. Within the various folders are examples, explanation readme files for reference. These sections build on the concepts mentioned in posts written by Adam Radford, a Distinguished System Engineer. Adam’s selection of posts can be found by following this link to blogs on cisco.com.
- PnP Workflow – This section explains the overall Plug and Play Methodology
- Variables – This section explains Variables in-depth and how and where to use them
- Velocity Scripting – This section will dive into Velocity Scripting constructs and use cases
- Building Templates – This section will explain how to build a template on DNAC
- Onboarding Templates – This section will explain Onboarding Templates in DNAC and their use
- DayN Templates – This section will explain how to use templates for ongoing changes to the network
- Advanced Velocity – This section will dive into Advanced Velocity examples
- Troubleshooting – This section will dive into Troubleshooting Velocity
Examples
For more examples and in-depth explanations, please take a look at Adam Radford’s blogs on cisco.com.
Additionally, specific examples of Templates are available in the following folders:
In order to deploy these samples, we first must satisfy two conditions:
In conclusion, if you found this repository or any section helpful, please fill in comments and feedback on how it could be improved.
We’d love to hear what you think. Ask a question or leave a comment below.
And stay connected with Cisco DevNet on social!
Twitter @CiscoDevNet | Facebook | LinkedIn
Visit the new Developer Video Channel
Share: