Skip to content

Releases: ygorelik/ydk-gen

The YDK-0.8.6.4 maintenance release

31 Jan 22:56
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

29 Aug 21:12
Compare
Choose a tag to compare
The YDK-0.8.6.3 Pre-release
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 18:10
af82226
Compare
Choose a tag to compare
YDK-0.8.6.2 Release Pre-release
Pre-release

2022-03-31 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

YDK-0.8.6 release

30 Sep 17:56
Compare
Choose a tag to compare
YDK-0.8.6 release Pre-release
Pre-release

Released on September 30, 2021

New features and enhancements

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

Resolved GitHub issues

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.2 release

01 May 18:22
Compare
Choose a tag to compare

Released on April 30 2021.

Resolved GitHub issues

  • Version numbers in bundle resolver to comply with PEP 440 (#1007)
  • The Executor Service fails to return module content to user (#1035)
  • Docker base image python error (#1036)
  • XmlSubtreeCodec fails encode leaf-list data (#1045)

Other resolved issues and enhancements

  • Fixed few minor bugs in C++ code
  • Added installation of flex and bison for CentOS platform
  • Added scripts for local unit testing of YDK release
  • Tested YDK on Windows 10 using Windows Subsystem for Linux and Ubuntu Bionic (18.04 LTS) and Focal (20.04 LTS) virtual machines.
  • Improved online documentation

YDK-0.8.5 release

06 Dec 19:12
Compare
Choose a tag to compare
YDK-0.8.5 release Pre-release
Pre-release

YDK-0.8.5.release

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"

Documentation improvements

  • Bundle profile description is not accurate (#971)
  • Undocumented method: ydk.path.SchemaNode.get_keys() (#1012)
  • ydk.path.DataNode.get_value() is listed as .get() in the documentation (#1013)

YDK release 0.8.4

30 Oct 19:45
e029085
Compare
Choose a tag to compare
YDK release 0.8.4 Pre-release
Pre-release

New features and enhancements

  • Expanded meta data in Python bundles by adding flags has_must and has_when (CiscoDevNet#927)
  • Added utility function to compare two entities and build diff (CiscoDevNet#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 (CiscoDevNet#614)
  • NETCONF provider should raise more appropriate exceptions (CiscoDevNet#774)
  • YList test fails when list entity added before keys are initialized (CiscoDevNet#800)
  • Inherited classes not initialized properly in Python3 when constructor uses super() (CiscoDevNet#921)
  • Delete operation fails on container (CiscoDevNet#931)
  • Absolute path for generated entity of second level list child is incorrect (CiscoDevNet#933)
  • Go: When entity having children is built from model API the child entities parent is nil (CiscoDevNet#938)
  • gNMI Provider does not preserve original strings (CiscoDevNet#940)
  • gNMISession fails to decode GetRequest response when returned values is empty string (CiscoDevNet#943)
  • No way to retrieve numeric value of enums in cpp generated code (CiscoDevNet#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.5.3

YDK release 0.8.3

14 Jun 17:27
42f4cbd
Compare
Choose a tag to compare
YDK release 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)

YDK release 0.8.2

18 Mar 16:57
1020e48
Compare
Choose a tag to compare
YDK release 0.8.2 Pre-release
Pre-release

Release Date: 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.0 Release

01 Feb 19:51
Compare
Choose a tag to compare

Released on 2018-12-17 YDK version 0.8.0

Main changes:

CRUD / Netconf / gNMI/ Codec / Path API

  • Introduced YDK support for gNMI protocol (protobuf version 0.4.0) including CRUD service with gNMI Service Provider.
  • Added Netconf support for certificate-based authentication for multiple servers

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

ydk-gen

  • Added capability to generate YDK service packages from generate.py script.