New Skills

New Training: Understand Model Driven Programmability

by Team Nuggets
New Training: Automate VXLAN Deployments picture: A
Follow us
Published on March 15, 2021

In this 6-video skill, CBT Nuggets trainer John McGovern explores the world of Model Driven Programmability and YANG! Watch this new Cisco training.

Watch the full course: Designing Cisco Enterprise Networks

This training includes:

  • 6 videos

  • 56 minutes of training

You’ll learn these topics in this skill:

  • Introduction to Model Driven Programmability

  • Transactional Configurations

  • Node Types & Leaf Attributes

  • Exploring YANG with Pyang

  • Linux Tricks for YANG

  • YANG Data Modelling with the CLI

How to Configure Your Network with YANG and Python

YANG is a data modeling language used by NETCONF or RESTCONF to configure networking equipment. NETCONF will transport YANG modelled data encoded in XML to a device over SSH. RESTCONF will do the same but it can be encoded in XML or JSON and sent over HTTPS as opposed to SSH.

Because YANG can be used for automation through scripting, it is common for network engineers to utilize Python with it to automate networking configuration tasks. One of the libraries that network engineers can use with Python to configure YANG configurations is Pyang.

Pyang is a YANG validator, transformator, and code generator. It can be used to validate YANG modules for correctness and transform YANG modules into different formats. It can also be used to write plugins to generate YANG code from other modules as well.

Pyang can be installed through the Python Pip package manager. If it is installed outside of its default location, it is recommended to set an environment variable path to the YANG_INSTALL directory. Otherwise, it may not work properly. For more information about Pyang, use the 'man pyang' command from the command line after it is installed.


Download

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.


Don't miss out!Get great content
delivered to your inbox.

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.

Recommended Articles

Get CBT Nuggets IT training news and resources

I have read and understood the privacy policy and am able to consent to it.

© 2024 CBT Nuggets. All rights reserved.Terms | Privacy Policy | Accessibility | Sitemap | 2850 Crescent Avenue, Eugene, OR 97408 | 541-284-5522