Both ydk-gen and ydk-py have been updated at github.
Here is a list of features that have gone into the release:
Bundle improvements
- Updated
cisco-ios-xr
to support Cisco IOS XR 6.3.2 release - Updated
cisco-ios-xe
to support Cisco IOS XE 16.8.1 release - Updated
openconfig
to introduce support for AFT, ISIS, LLDP, Network Instance and Segment Routing models. - Updated
ietf
bundles to introduce support for NETCONF access control model (ACM)
CRUD / Netconf / Codec / Path API improvements
- Introduced support for multiple entities in Python and C++ (#713, #719, #726, #736)
- Added support for yang models with more than 256 typedefs (#678, #607)
- Fixed segfault with
cisco-ios-xe
model (#627) - Changed default arguments to be more pythonic (#682)
- Handled XML escape characters included in yang models (#683)
- Improved handling XML declaration in XML payloads (#662)
- Fixed support for yang models with lists as top-level nodes (#728)
- Added support for yang 1.1
action
statement in path API (#717)
Netconf provider improvements
- Added support for connecting to devices with no
get-schema
support (#554)
Model API improvements
- Updated leafs in python model APIs to use native python types. (#604)
Documentation improvements
- Improved enum documentation (#716)
- Enhanced table of contents for documentation (#715)
Installation improvements
- Introduced automated docker builds to produce docker images with
ydk-gen
, ydk-py
and ydk-go
pre-installed (#724)
NOTE: #604 introduced a backward incompatibility. The above bundles generated with 0.7.1
or newer ydk-gen will only work with ydk core
version 0.7.1
or newer. Also, the YPYError types have been renamed to YError
Do give it a try and enjoy the great features of yang models in Python!