Tuesday, May 3, 2022
HomeHealthy LivingYANG Suite updates and new options: A sneak peek

YANG Suite updates and new options: A sneak peek


Have you ever tried out Cisco YANG Suite but? YANG Suite supplies community operators with a set of instruments and plugins to work together with and check YANG programmable interfaces together with NETCONF, RESTCONF, gNMI, and extra.

In Episode 58 of DevNet Snack Minute, Jeremy Cohoe (Technical Advertising Engineer with Cisco Methods) supplies us with an outline of the brand new updates included within the newest model of Cisco YANG Suite.

To seek out out much more about YANG Suite, try the sooner Snack Minute, Episode 9, the place Jeremy offers an introduction to the preliminary public launch of YANG Suite.

YANG Suite Introduction

Jeremy begins by giving us an introduction to the YANG API Testing and Validation Surroundings, also referred to as YANG Suite. YANG Suite is a set of tooling which can be utilized to work together with Cisco working methods and the YANG-based APIs (NETCONF, RESTCONF, gNMI, gRPC).

YANG Suite was initially launched in January of 2021 (see Episode 9). Now, YANG Suite is preparing for its second launch, which incorporates plugins for RESTCONF and gNMI.

Tip: To get began with YANG Suite your self, begin on the primary YANG Suite web page, the place you will discover hyperlinks to documentation and the Studying Lab. You can even clone the repo straight from GitHub, construct the Docker container, and get began there. Moreover, the following launch will assist set up by means of pip.

YANG Suite RESTCONF plugin

Soar to this part of the video.

Jeremy then offers us an outline of the primary new plugin, YANG Suite RESTCONF. This plugin permits us to load that information mannequin and work together with it utilizing the Swagger UI, a point-and-click interface to REST. YANG Suite abstracts the YANG information fashions right into a REST format that builders are conversant in, making it simpler to work with the API.

Subsequent, Jeremy offers us a quick demonstration of the RESTCONF plugin, strolling by means of loading the Cisco-iOS-XE-native information mannequin and dealing with the Loopback interface.

From the NETCONF plugin, YANG Suite may also generate Python scripts in addition to Ansible YAML, which might be plugged into Ansible or to different CI/CD methods as wanted. This performance may additionally come quickly to the RESTCONF plugin.

How YANG Suite is used

Watch right here.

Jeremy defined to us that YANG Suite is primarily getting used for administration and testing—to grasp the APIs, extract that information, and put it into different methods and toolings.

Within the subsequent launch, gRPC Dial-Out with TLS Assist will permit YANG Suite to function an energetic middleman to obtain telemetry information and push it out for integrations with different companies equivalent to Elasticsearch.

YANG Suite has been round for 5 years internally at Cisco, but it surely has been growing shortly since its public launch.

YANG Suite gNMI plugin

Watch right here.

The second characteristic from this newest launch is the YANG Suite gNMI plugin. It is a full-featured gNMI shopper which helps Get, Set, and Subscribe operations. It really works with each OpenConfig and native information fashions. Jeremy notes that that is just like NETCONF, the place we construct the info mannequin, make config modifications (for instance, get/set), after which ship that JSON-encoded payload to the API. He then walks us by means of an illustration.


We sit up for the brand new options popping out within the subsequent launch of YANG Suite, anticipated quickly in 2022!

Need extra? DevNet Snack Minute is your weekly, ten-minute protection of all issues DevNet. Every episode is hosted by Matt DeNapoli, Supervisor of Developer Advocacy (@theDeNap) and Kareem Iskander, Sr. Tech Advocate with Cisco Studying & Certifications (@Kareem_isk). It’s an effective way to study Cisco APIs, coding, and different cool stuff. Subscribe to the DevNet Snack Minute YouTube Channel to remain related!

We’d love to listen to what you suppose. Ask a query or depart a remark beneath.
And keep related with Cisco DevNet on social!

LinkedIn | Twitter @CiscoDevNet | Fb Developer Video Channel





Please enter your comment!
Please enter your name here

Most Popular

Recent Comments