Where Are the NETCONF/YANG Tools?

Jo attempted to follow the vendor Kool-Aid recommendations and use NETCONF/YANG to configure network devices. Here’s what he found (slightly edited):


IMHO, the whole NETCONF ecosystem primarily suffers from a tooling problem. Or I haven’t found the right tools yet.

ncclient is (as you mentioned somewhere else) an underdocumented mess. And that undocumented part is not even up to date. The commit hash at the bottom of the docs page is from 2020… I am amazed how so many people got it working well enough to depend on it in their applications.

The tools for browsing and inspecting YANG models are also not really there. Everything is abandoned. Cisco killed/abandoned two of its projects already. YANG Explorer is dead, and yangsuite fails to install and has outdated docs. Installation documentation talks about Python 3.6 to 3.8, the README is stuck at 3.9+ with 3.10 recommended. However, installations fail for more modern versions. All the systems I am working on ship 3.11 or newer by default now.

The Docker container was also an insane amount of pain until it worked. And of course, the code is not on GitHub; the repo there is just a dummy repo for the Docker container. All I was looking for was a nice way to display what my device supports and to display and edit the values so that I can see what I am doing in a sea of XML

There have been a couple other tools that I have found which were dead even longer.

Am I missing some nice tool? What are people actually using to get things done with NETCONF?


I had similar experiences. I tried to demonstrate how to use YANG to validate a custom network automation data model, but I failed miserably.

Kristian Larsson wrote a blog post at that time explaining how you can get the job done, so I’m guessing there must be solutions out there that work, and it’s just that our Google-Fu is failing us. pyang seems to be a tool that could accomplish some YANG-related tasks; pointers to other working, up-to-date tools would be highly appreciated.

Add comment
Sidebar