What is the Cisco YANG Suite?
Cisco YANG Suite is used to construct and test YANG based APIs over NETCONF, RESTCONF, gRPC and gNMI on Cisco IOS XE, IOS XR, and NX-OS platforms. Cisco’s YANG Suite is primarily designed to work with Cisco’s network equipment and devices, which are built to support Cisco’s own implementations of YANG (Yet Another Next Generation) models. However, in theory, you can still use Cisco YANG Suite to interact with other vendors’ equipment, e.g. Juniper, as long as the equipment supports YANG models and the necessary protocols such as NETCONF or RESTCONF.
One of the key features of Cisco YANG Suite is its ability to generate Python code directly from YANG models. This allows developers to quickly build custom applications that leverage the power of YANG without having to write low-level code. Additionally, YANG Suite includes support for popular network automation frameworks like Ansible, making it easy to integrate with existing workflows.
Is Cisco YANG Suite free?
Cisco YANG Suite is a free tool available to download from cisco.com
You can get Cisco’s YANG Suite from Cisco’s official website or GitHub repositories. Here’s how you can access it:
- Cisco DevNet: Cisco provides many of their network automation tools, including YANG Suite, on their DevNet platform. DevNet is Cisco’s developer hub where you can find APIs, SDKs, and other tools to interact with Cisco devices.
- Visit Cisco DevNet
- Look for resources under “Automation and Programmability” or search for “YANG Suite.”
- Direct link is – https://developer.cisco.com/yangsuite/
- GitHub: Cisco has open-sourced many of their YANG-related tools, and you can find the YANG Suite in Cisco’s GitHub repositories.
- Check out the Cisco GitHub page.
- You can find the YANG Suite repository there or search for it directly.
- Direct link is – https://github.com/CiscoDevNet/yangsuite
Cisco YANG Suite Install Guide
Cisco YANG Suite can be installed as a Docker container or through Python package management. Docker-compose is the recommended install.
- Clone the YANG Suite GitHub Repo
- cd yangsuite/docker
- Run the start_yang_suite.sh script with bash start_yang_suite.sh
- Setup YANG Suite admin user
- Create admin user password
- Setup system access
- Setup test certificates
- Docker Containers will now build
- You can now access your Cisco YANG Suite at https://<server-ip>:8443
Leave a Reply