Computer Networking > STUDY GUIDE > 2.3 Lab - Explore YANG models using the pyang tool (All)

2.3 Lab - Explore YANG models using the pyang tool

Document Content and Description Below

Lab – Explore YANG models using the pyang tool Objectives Part 1: Install the pyang Python module Part 2: Download YANG models for the IOS XE Part 3: Use the pyang command line tool to transform... the YANG models Background / Scenario YANG models define the exact structure, data types, syntax and validation rules for the content of messages exchanged between a managed device and another system communicating with the device. Working with files using the YANG language can be a bit overwhelming for the level of details in these files. In this lab, you will learn how to use the open source pyang tool to transform YANG data models from files using the YANG language, into a much more easily human readable format. Using the “tree” view transformation, you will identify what are the key elements of the ietf-interfaces YANG model. Required Resources • Access to the Internet • Python 3.x environment Part 1: Install the pyang Python module In this part, you will install pyang module into your Python environment. Pyang is a python module that simplifies working with YANG files. The Pyang Python module comes with a pyang command line executable that transforms YANG files into a more human readable format (tree, html, etc.). Step 1: Use pip to install pyang. a. Start a new Windows command prompt (cmd). b. Install pyang using pip in the Windows command prompt: pip install --no-binary pyang pyang NOTE: on mac or linux you can simply “pip install pyang” but temporarily on Windows the binary WHL file won’t include the Windows executable pyang file. c. Verify that pyang has been successfully installed. In the command prompt, type: pyang -v to display the installed pyang version [Show More]

Last updated: 1 year ago

Preview 1 out of 2 pages

Add to cart

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Add to cart

Instant download

We Accept:

We Accept

Reviews( 0 )

$7.00

Add to cart

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
243
0

Document information


Connected school, study & course


About the document


Uploaded On

Mar 23, 2021

Number of pages

2

Written in

Seller


seller-icon
Muchiri

Member since 3 years

209 Documents Sold


Additional information

This document has been written for:

Uploaded

Mar 23, 2021

Downloads

 0

Views

 243

Document Keyword Tags

What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·