Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Releases: CiscoDevNet/ydk-py

YDK-Py release 0.8.4

18 Oct 18:10
Compare
Choose a tag to compare
YDK-Py 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 (#927)
  • Added utility function to compare two entities and build diff (#925)

Resolved GitHub issues

  • 'ietf-netconf-monitoring:get-schema' returns schema with escape sequences (#614)
  • NETCONF provider should raise more appropriate exceptions (#774)
  • 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)
  • Get entity path methods should be consistent (#953)

Documentation improvements

  • Added documentation for XmlSubtreeCodec and JsonSubtreeCodec.
  • Improved documentation for System Requirements and Python Requirements
  • Made documentation available from GitHub and locally from cloned repository

Bundle improvements

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

0.8.3

31 May 23:27
57bb46f
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 01:07
e24cf4c
Compare
Choose a tag to compare
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)
  • gNMI provider requires 'port' argument (#880)
  • 'delete' and 'replace' filters doesn't work properly with gNMI and CRUD service (#881)

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

13 Feb 00:15
59820b5
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

Release date 2019-02-11

New features and enhancements

  • Added support for CRUD, Netconf Service, and gNMI Service operations on non-top level objects.
  • 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 Python 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)
  • 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)
  • gNMI missing from ydk-py docker (#860)

Documentation improvements

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

0.8.0

18 Dec 19:45
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

2018-12-18 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

0.7.3

10 Oct 00:35
f0d8703
Compare
Choose a tag to compare
0.7.3 Pre-release
Pre-release

2018-10-02 version 0.7.3

Bundle improvements

  • Updated cisco-ios-xr bundle to support Cisco IOS XR 6.5.1 release.
  • Updated cisco-ios-xe bundle to support Cisco IOS XE 16.9.1 release.
  • Released cisco-nx-os bundle to support Cisco NX OS 9.2.1 release.
  • Updated openconfig to to make it compatible with ydk core version 0.7.3.
  • Also updated ietf bundle to make it compatible with ydk core version 0.7.3.

Python, C++ & Go

CRUD/ NETCONF / Codec API improvements
  • Introduced Codec feature to decode multiple JSON payload. (#812)
  • Improved support for YList (#811)

Python

CRUD/ NETCONF / Codec API improvements
  • Improve handling of python native types in model API. (#733)
  • Validate leaf values based on python type of model API. (#739)
  • Improve checking of invalid attributes for model API objects. (#815)

Note about cisco-ios-xr 6.5.1 bundle

  • Bundle excludes the following files due to duplicate namespaces:
    Cisco-IOS-XR-sysadmin-clear-ncs5500.yang
    Cisco-IOS-XR-sysadmin-clear-ncs5502.yang
    Cisco-IOS-XR-sysadmin-clear-ncs55A1.yang
    Cisco-IOS-XR-sysadmin-controllers-ncs5500.yang
    Cisco-IOS-XR-sysadmin-controllers-ncs5501.yang
    Cisco-IOS-XR-sysadmin-controllers-ncs5502.yang
    Cisco-IOS-XR-sysadmin-controllers-ncs55A1.yang
    Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5500.yang
    Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-aggregator-ncs5502.yang
    Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5500.yang
    Cisco-IOS-XR-sysadmin-fabric-mgr-fsdb-server-ncs5502.yang
    Cisco-IOS-XR-sysadmin-fabric-ncs5500.yang
    Cisco-IOS-XR-sysadmin-fabric-ncs5501.yang
    Cisco-IOS-XR-sysadmin-fabric-ncs5502.yang

0.7.2

03 Jul 22:29
426cdc1
Compare
Choose a tag to compare
0.7.2 Pre-release
Pre-release

2018-07-02 version 0.7.2

Bundle improvements
  • Released cisco-nx-os bundle to support Cisco NX OS 7.0-3-I7-4 release
  • Updated cisco-ios-xr bundle to support Cisco IOS XR 6.4.1 release
  • Updated openconfig bundle to introduce support for additional AFT models.
  • Updated cisco-ios-xe bundle to continue to support Cisco IOS XE 16.8.1 release and make it compatible with ydk core version 0.7.2
  • Also updated ietf bundle to make it compatible with ydk core version 0.7.2
CRUD / Netconf / Codec / Path API improvements
  • Introduced support for key-based access to list items in Python, C++ and Go model API (#231)
  • Improved support for YANG presence nodes (#629, #738, #763)
  • Fixed issue with invoking sequential CRUD operations on different model APIs (#727)
  • Improved NETCONF service commit API (#796)
  • Enhanced support for leaf value patterns (#786)
Netconf provider improvements
  • Improved support for YANG features included in NETCONF hello message (#777)
Documentation improvements

0.7.1

11 Apr 04:48
fa9bbc8
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

2018-04-09 version 0.7.1

Python, C++ & Go

Bundle improvements

NOTE: #604 introduced a backward incompatibility. The below bundles generated with 0.7.1 or newer ydk-gen will only work with ydk core version 0.7.1 or newer

  • 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)
ydk-gen improvements
  • Updated leafs in python model APIs to use native python types. (604)
  • Improved the size and performance of Golang model APIs (604)
  • Fixed issue with handling of some typedefs in Golang (706, 747)
Documentation improvements
  • Improved enum documentation (716)
  • Enhanced table of contents for documentation (715)
Testing/error improvements
  • Improved ydk-gen error reporting and fixed --one-class-per-module option of generating python packages (604)
  • Added coverage for Golang and C++ (740, 705)
Installation improvements
  • Introduced automated docker builds to produce docker images with ydk-gen, ydk-py and ydk-go pre-installed (724)
  • Removed epel-release as one of the requirements for libydk RPM (#627)
  • Added testing for libydk packages (604)

0.7.0

05 Feb 20:33
3a142a9
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

2018-01-31 version 0.7.0

Python, C++ & Go

CRUD service improvements
  • Fixed handling of reading operational data nodes (#664)
  • Improved formatting of payloads in logging output (#670)
Error handling improvements
  • Fixed warning in CMake build system to look for CMake version of 3.0.0 or greater (#655)
Documentation improvements
  • Improved documentation for models which augment other models (#426)

0.6.3

20 Dec 00:35
6f3f379
Compare
Choose a tag to compare
0.6.3 Pre-release
Pre-release

2017-12-15 version 0.6.3

Python & C++

Model API updates
  • Updated cisco-ios-xe bundle to support Cisco IOS XE 16.6.2 and 16.7.1 releases
Netconf provider improvements
  • Added support for keybase authentication (#619)
CRUD service improvements
Documentation improvements
  • Improved documentation for unions (#642) and string patterns (#651)
  • Improved developer guide (#622, #625)
Testing improvements
  • Fixed CI failures and added CI on CentOS & Ubuntu Xenial platforms (#637, #644)