jueves, diciembre 8, 2022
InicioHealthYANG 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 Programs) supplies us with an summary of the brand new updates included within the newest model of Cisco YANG Suite.

To seek out out much more about YANG Suite, take a look at 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 Atmosphere, also called YANG Suite. YANG Suite is a set of tooling which can be utilized to work together with Cisco working programs 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 predominant YANG Suite web page, the place you’ll find hyperlinks to documentation and the Studying Lab. You can even clone the repo instantly from GitHub, construct the Docker container, and get began there. Moreover, the following launch will help set up by way of pip.

YANG Suite RESTCONF plugin

Bounce to this part of the video.

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

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

From the NETCONF plugin, YANG Suite may generate Python scripts in addition to Ansible YAML, which might be plugged into Ansible or to different CI/CD programs as wanted. This performance may 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 know the APIs, extract that knowledge, and put it into different programs and toolings.

Within the subsequent launch, gRPC Dial-Out with TLS Assist will enable YANG Suite to function an lively middleman to obtain telemetry knowledge and push it out for integrations with different providers reminiscent of Elasticsearch.

YANG Suite has been round for 5 years internally at Cisco, however it 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 knowledge fashions. Jeremy notes that that is just like NETCONF, the place we construct the information mannequin, make config modifications (for instance, get/set), after which ship that JSON-encoded payload to the API. He then walks us by way of an indication.


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 find out about Cisco APIs, coding, and different cool stuff. Subscribe to the DevNet Snack Minute YouTube Channel to remain linked!

We’d love to listen to what you assume. Ask a query or go away a remark beneath.
And keep linked with Cisco DevNet on social!

LinkedIn | Twitter @CiscoDevNet | Fb Developer Video Channel





Por favor ingrese su comentario!
Por favor ingrese su nombre aquí