Tuesday, September 27, 2022
HomeCloud ComputingYANG Suite updates and new options: A sneak peek

YANG Suite updates and new options: A sneak peek

[ad_1]

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

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

To search out out much more about YANG Suite, try the sooner Snack Minute, Episode 9, the place Jeremy provides 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 foremost YANG Suite web page, the place you will discover hyperlinks to documentation and the Studying Lab. You may as well clone the repo instantly from GitHub, construct the Docker container, and get began there. Moreover, the following launch will assist set up via pip.

YANG Suite RESTCONF plugin

Bounce to this part of the video.

Jeremy then provides us an outline 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 conversant in, making it simpler to work with the API.

Subsequent, Jeremy provides us a quick demonstration of the RESTCONF plugin, strolling via 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 methods as wanted. This performance can also 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 methods and toolings.

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

YANG Suite has been round for 5 years internally at Cisco, however it has been creating rapidly since its public launch.

YANG Suite gNMI plugin

Watch right here.

The second function from this newest launch is the YANG Suite gNMI plugin. It is a full-featured gNMI consumer 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 info mannequin, make config modifications (for instance, get/set), after which ship that JSON-encoded payload to the API. He then walks us via an illustration.

Wrap-up

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 a good 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 suppose. Ask a query or go away a remark beneath.
And keep linked with Cisco DevNet on social!

LinkedIn | Twitter @CiscoDevNet | Fb Developer Video Channel

Share:



[ad_2]

RELATED ARTICLES

Most Popular

Recent Comments