Skip to content

Releases: CiscoDevNet/ydk-gen

YDK-0.8.6.5 Maintenance Release

07 Sep 22:02
294b039
Compare
Choose a tag to compare

YDK-0.8.6.5 Maintenance Release

Released on September 7 of 2023.

The following are the changes that were introduced since release 0.8.6.4:

New features and enhancements

  • Added support for Ubuntu:jammy (22.04)

Resolved GitHub issues

  • Segmentation Fault on Python application exit with Python 3.9.5 (#1050)
  • ydk.io and ciscodevnet.github.io/ydk-py/ not working correctly (#1088)
  • cannot decode json blob in python without encoding it first (#1089)
  • Incorrect bundle model reference (#1091)

YDK-0.8.6.4 Maintenance Release

01 Feb 03:30
27dd7d8
Compare
Choose a tag to compare

The YDK-0.8.6.4 has been released on January 31 of 2023.

The following are changes that were introduced since release 0.8.6.3.

New features and enhancements

  • install_ydk.sh: Installation of Python and Go YDK packages should not require root access (#1069)
  • Expanded unit test cases to retrieve list elements

Resolved GitHub issues

  • CodecService fails to decode XML in python when referencing namespace prefix (#1071)
  • CiscoDevNet YDK C++ README needs Documentation & Support links updated (#1077)
  • Error in ydk-gen-master/test/dependencies_centos.sh version check (#1078)
  • not_eq is a c++ keyword (#1080)
  • libyang issue with arguments that are swapped (#1081)

Resolved non-GitHub issues

  • Fixed and tested C++ sample apps

The YDK-0.8.6.3 Release

29 Aug 21:09
710ec98
Compare
Choose a tag to compare
Pre-release

The YDK-0.8.6.3 has been release on July 31 of 2022.

The following are changes that were introduced since release 0.8.6.2.

New features and enhancements

  • Added automatic build of environment setup file .env by the installation script

Resolved GitHub issues

  • IndexError on decoding empty string value in JSON payload (#1061)
  • gNMI service installation on Centos 8.2 fails due to C++ compiler error
    (#1062)
  • The installation script fails on fresh new CentOS 7 docker container (#1064)
  • ExecutorService fails on non-ietf RPC with Libyang error (#1067)

Resolved non-GitHub issues

  • Upgraded third party packages Sphinx (1.5.6) and wheel (0.37.1) due to documentation
    generation issues on Mac Big Sur
  • Fixed installation script for the case, when virtual environment is not used

Documentation improvements

  • Fixed documentation issue #1066

YDK-0.8.6.2 Release

01 Apr 20:58
e2171d6
Compare
Choose a tag to compare
YDK-0.8.6.2 Release Pre-release
Pre-release

YDK version 0.8.6.2 of 2022-03-31

The following changes were introduced since release 0.8.5:

Version 0.8.6.2

New features and enhancements

  • Improved installation script to allow use of Python system installation
  • Corrected few Codacy issues
  • Added support for MacOS Big Sur

Resolved GitHub issues

  • Fixed Python 3.5 code compatibility issue for Ubuntu:xenial
  • install_ydk.sh tries to create a new venv (#1034)
  • getting YCodecError when leaf value has string 'sftp://' (#1056)
  • vrf route-target leaf stitching(bool) fails as invalid (#1059)

Resolved non-GitHub issues

  • Addressed segmentation fault error when required modules are not loaded.
  • Patched catch.hpp for Linux distributions that do not define SIGSTKSZ

Bundle improvements

  • Cleaned up older profiles

Version 0.8.6 (2021-09-30)

New features and enhancements

  • Upgraded pyang version to 2.5.0
  • Create go wrapper for NetconfSession and other path APIs (#779)
  • Added SSL support for NetconfServiceProvider in Go
  • Dropped Python2 support in the code

Resolved GitHub issues

  • Go function EntityEqual result depends on parameters order (#1053)
  • Failed to get "ietf-netconf" module with Executor Service and get-schema RPC (#1047)
  • The Executor Service fails to return module content back to user (#1048)

Bundle improvements

  • Updated cisco-ios-xr bundle (profile cisco-ios-xr_6_7_3.json) to support Cisco IOS XR 6.7.3
  • Updated openconfig bundle (profile openconfig_0_1_9.json) to support YANG models of revision "2020-05-06"
  • Updated ietf bundle (profile ietf_0_1_6.json) to support YANG models of revision "2018-02-14"
  • Added bundle profiles to support Cisco IOS XR 7.0.1 and 7.0.2

YDK 0.8.5 release

24 Feb 18:12
2d0c87c
Compare
Choose a tag to compare
YDK 0.8.5 release Pre-release
Pre-release

YDK-0.8.5 release

Released on July 21 of 2020

New features and enhancements

  • Develop utility function to clone Entity instance 967
  • Go CodecService fails to encode leaf-list data 968
  • Developed script install_ydk, which allows to install YDK from source in one CLI command
  • Added support for CentOS/RHEL-8 and Ubuntu-20.04 (focal) 1019

Resolved GitHub issues

  • gNMI set RPC fails when JSON payload is formatted string
  • Enhance generator to indicate how a YANG modules was processed 894
  • Restconf in YDK should support HTTPS (partially resolved) 917
  • Go fails to process filters on enum and identity leaves and leaf-lists 969
  • YDK fails create bundle package when package name contains '.' 978
  • python bundle generator must escape 'async' as variable name 980
  • YDK fails instantiate some of the generated bundle classes 983
  • Python generated bundle class fails instantiate when model contains leaf 'logger' 996
  • C++ YList class fails to process key values when its name contains '-' character 997
  • create_datanode in Path API returns incorrect object and sets incorrect value 1003
  • create_datanode rejects absolute paths with a leading "/" as defined in RFC 7950 1005
  • Path API create_datanode rejects valid value 1006
  • data tag not recognized when attribute present 1021
  • c++ generated bundle class fails to compile in gcc when model contains leaf 'minor' 1024
  • ydk.path.codec.decode validates incorrect XML payload 1026
  • Python 3 TypeError while initializing CRUDService class 1032

Bundle improvements

  • Updated cisco-ios-xe bundle to support Cisco IOS XE 16.9.3 due to bug in Python generated code
  • Updated cisco-ios-xr bundle to support Cisco IOS XR 6.6.3
  • Updated openconfig bundle to support YANG models of revision "2019-06-21"

YDK release 0.8.4

14 Oct 15:47
ff1149b
Compare
Choose a tag to compare
YDK release 0.8.4 Pre-release
Pre-release

YDK release 0.8.4

New features and enhancements

- Expanded meta data in Python bundles by adding flags has_must and has_when (#927)
- Added utility function to compare two entities and build diff (#925)
- Adjusted C++ code to work with gcc compiler version 4.8.5 (default for CentOS-7.x)

Resolved GitHub issues

- 'ietf-netconf-monitoring:get-schema' returns schema with escape sequences (#614)
- NETCONF provider should raise more appropriate exceptions (#774)
- YList test fails when list entity added before keys are initialized (#800)
- Inherited classes not initialized properly in Python3 when constructor uses super() (#921)
- Delete operation fails on container (#931)
- Absolute path for generated entity of second level list child is incorrect (#933)
- Go: When entity having children is built from model API the child entities parent is nil (#938)
- gNMI Provider does not preserve original strings (#940)
- gNMISession fails to decode GetRequest response when returned values is empty string (#943)
- No way to retrieve numeric value of enums in cpp generated code (#944)
- XmlSubtreeCodec fails decode payload with augmented component (#956)
- Debian package for C++ bundles getting installed to wrong location (#962)

Documentation improvements

- Added documentation for XmlSubtreeCodec and JsonSubtreeCodec.

Bundle improvements

- Released cisco-nx-os bundle to support Cisco NX OS 9.3.1
- Released cisco-ios-xr bundle to support Cisco IOS XR OS 6.6.3

0.8.3

24 May 23:26
Compare
Choose a tag to compare
0.8.3 Pre-release
Pre-release

2019-05-15 version 0.8.3

Bundle improvements

  • Updated cisco-ios-xr bundle to support Cisco IOS XR 6.6.2
  • Updated openconfig bundle to introduce support for additional models.

Resolved GitHub issues

  • cgo compile error (#781)
  • YDK netconf read fails when tag has namespace prefix (#799)
  • YDK return value of YANG action missing some attributes (#871)
  • Duplicate code in generated cisco-ios-xe Go bundle (#891)
  • Memory leaks in YDK C++ core (#899)
  • Memory leaks in YDK C++ gNMI Service component (#902)
  • RPC execution stuck when NETCONF server closes session unexpectedly (#914)
  • YDK attempting to send Commit command when 'writable-running' in capabilities (#915)
  • Max value of range is set to None when not specified in the Yang model (#916)
  • YDK MetaInfo should have a field for mandatory leaf (#918)
Note

The solution for GitHub issue (#891) changed model API. However all model bundles generated with YDK-Gen version 0.7.3 and later are still compatible with core YDK components.

Documentation improvements

Addressed multiple documentation issues:

  • Installation documentation for YDK-Py needs an update (#906)
  • README file for YDK-Py repo is not rendering correctly (#907)

0.8.2

16 Mar 02:08
1020e48
Compare
Choose a tag to compare
0.8.2 Pre-release
Pre-release

Release data: 2019-03-15, Version 0.8.2

New features and enhancements

  • Expanded disabling of data validation to read operations with NetconfServiceProvider.
  • Expanded disabling of data validation to gNMIServiceProvider.

Resolved GitHub issues

  • ydk-py and ydk-gen Travis tests fail on Mac (#834)
  • When MacOS is updated from Homebrew any Python2 YDK application fails (#837)
  • ImportError: dynamic module does not define module export function (PyInit_ydk_) (#840)
  • Libyang error: Reached limit (65535) for storing typedefs (#874)
  • AttributeError: 'Config' object has no attribute 'logger' (#876)
  • Segmentation Fault in API when connection to Netconf fails (#879)
  • gNMI provider requires 'port' argument (#880)
  • 'delete' and 'replace' filters do not work properly with gNMI and CRUD service (#881)
  • Go compiler failed to link gNMI service on Mac (#892)

Model bundle additions

  • Released cisco-ios-xr bundle to support Cisco IOS XR 6.5.2
  • Released cisco-ios-xe bundle to support Cisco IOS XE 16.9.3
  • Released cisco-nx-os bundle to support Cisco NX OS 9.2.3

0.8.1

11 Feb 17:16
b860d8a
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

2019-02-11 version 0.8.1

Python, C++, Go

  • Introduced support for non-top level objects/entities for CRUD, Netconf, and gNMI services.
  • Introduced a feature, which allows to disable validation of entity data processed by NetconfServiceProvider.

ydk-gen

  • Added capability to generate meta-data in Python bundles by adding --generate-meta flag in generate.py script.
  • Added generate.py script options '-i --install' and '-s --sudo' to generate and install packages in one step.
  • Use CMake build number for release numbers with suffix (#864)

Resolved GitHub issues

  • YFilter dropped when used with NetconfService and EntityCollection (#803)
  • Test for non-top level Entity fails when bundle created with 'one-class-per-module' flag (#839)
  • generate.py always creates model bundles with requirements for current YDK version (#844)
  • NETCONF Session constructor doesn't allow port to be None (#846)
  • YDK fails process RPC payload, which contain 'data' tag (#851)
  • gNMI script results in a segmentation fault if repository is missing a required model (#852)
  • CodecService fails correctly encode multiple entries in keyless list (#854)
  • Segmentation fault when decoding gNMI config payload (#856)
  • Decoding gNMI payload fails with ValueError exception (#858)

Documentation improvements

Addressed multiple documentation issues: #848, #850, #861, #862

0.8.0

17 Dec 23:36
c9c07d4
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

2018-12-17 version 0.8.0

Bundle improvements

  • Updated cisco-ios-xr bundle to include previously missing action models in Cisco IOS XR 6.5.1 release
  • Released cisco-nx-os bundle to support Cisco NX OS 9.2.2 release

gNMI protocol (protobuf version 0.4.0)

  • New service provider (gNMIServiceProvider) for gNMI
  • New gNMI service (gNMIService) with support Capabilities, Set, Get and Subscribe RPCs
  • Updated CRUD service with support for gNMI service provider

NETCONF Improvements

  • Added support for certificate-based authentication for multiple servers

YDK-Gen improvements

  • New service bundles for modular service packaging