The first version of ydk-go has been released on github as version 0.7.0 (alpha) with full feature parity with Python and C++! Check out the documentation and these sample apps.
Here is a list of features that have gone into the release:
- Added support for all existing
ydk core
services, providers, types and errors in Go - Added support for all existing
ydk bundles
including ietf
, openconfig
, cisco-ios-xr
and cisco-ios-xe
in Go
Note
The data hierarchy of YDK-Go differs slightly from the classes in YDK-Py. The classes in YDK-Py use a nested hierarchy to represent the YANG data models. The structs in YDK-Go are designed so that the YANG data models are represented in a flat manner.
For example, the YDK-Py nested Python class Bgp.Neighbors is shown as below.
Whereas in YDK-Go, the same YANG node is represented in a non-nested way as Bgp_Neighbors as seen below.
Give it a try and realize the awesome power of yang in Go!