cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1226
Views
15
Helpful
6
Replies

YDK-0.8.6 is now generally available

yangorelik
Spotlight
Spotlight

Released on September 30, 2021. The following changes since release 0.8.5.2 have been introduced:

 

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)

 

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

Release Location

https://github.com/ygorelik/ydk-gen

Online Documentation

https://ygorelik.github.io/ydk-gen/

Yan Gorelik
YDK Solutions
6 Replies 6

fracjackmac
Level 1
Level 1

Thanks for the information @yangorelik.

 

fjm

@ittybittypacket

Does this mean that I wasnt able to install it correctly?

 

Reading package lists... Done
/usr/bin/gcc
*** Sun 24 Oct 2021 10:19:00 AEDT *** dependencies_ubuntu.sh | Current gcc/g++ version is 7.5.0  
*** Sun 24 Oct 2021 10:19:00 AEDT *** dependencies_ubuntu.sh | Current Go version is 1.13.1  
*** Sun 24 Oct 2021 10:19:00 AEDT *** install_ydk.sh | Python virtual environment location is set to /root/venv  
*** Sun 24 Oct 2021 10:19:00 AEDT *** install_ydk.sh | Running: source /root/venv/bin/activate  
*** Sun 24 Oct 2021 10:19:00 AEDT *** install_ydk.sh | Checking python3 version and installation  
Python 3.8.10
*** Sun 24 Oct 2021 10:19:00 AEDT *** install_ydk.sh | Checking pip3 version and installation  
pip 20.0.2 from /root/venv/lib/python3.8/site-packages/pip (python 3.8)
*** Sun 24 Oct 2021 10:19:01 AEDT *** install_ydk.sh | Checking installation of python shared libraries  
*** Sun 24 Oct 2021 10:19:01 AEDT *** install_ydk.sh | Could not locate python shared library libpython3.8.so  
*** Sun 24 Oct 2021 10:19:01 AEDT *** install_ydk.sh | Try to update locate database, then repeat YDK installation  
c@cvm:~/Downloads/ydk-gen$
I followed the core installation while setting everything to default

So I basically just ran the below command:

./install_ydk.sh --core

343438771
Level 1
Level 1

Does this version support Yang 1.1?

The YDK-0.8.6 still supports only YANG-1.0. This is free version publicly available.

In order to support YANG-1.1 you have to purchase release YDK-0.9.0.1 or later (see announcement and release notes here). The documentation is available here. In order to try this version for free on the docker, run this command:

docker run -it ydksolutions/ydk:0.9.0.1

 

Yan Gorelik
YDK Solutions

Hi Yan Gorelik,

 

I try to download YDK-0.9.0.1 from docker. But it show some error on docker.

 

Unable to find image 'ydksolutions/ydk:0.9.0.1' locally Trying to pull repository docker.io/ydksolutions/ydk ... /usr/bin/docker-current: repository docker.io/ydksolutions/ydk not found: does not exist or no pull access. See '/usr/bin/docker-current run --help'.

 

Garnet

I have no issue pulling  docker image:
ygorelik@ygorelik-VirtualBox:~/ydk-gen$ sudo docker pull ydksolutions/ydk:0.9.0.1
[sudo] password for ygorelik:
0.9.0.1: Pulling from ydksolutions/ydk
23884877105a: Already exists
bc38caa0f5b9: Already exists
2910811b6c42: Already exists
36505266dcc6: Already exists
c88df202e75d: Pull complete
Digest: sha256:3a00f144edee718eb92fe9a48af4965a5851f31283cb38f32a1311625f5cc42c
Status: Downloaded newer image for ydksolutions/ydk:0.9.0.1
docker.io/ydksolutions/ydk:0.9.0.1
ygorelik@ygorelik-VirtualBox:~/ydk-gen$ sudo docker images
[sudo] password for ygorelik:
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ydksolutions/ydk    0.9.0.1             aafd7d1b6c26        6 months ago        4.58GB
centos              latest              300e315adb2f        12 months ago       209MB
ubuntu              focal               1d622ef86b13        20 months ago       73.9MB
ubuntu              bionic              c3c304cb4f22        20 months ago       64.2MB
centos              7.7.1908            08d05d1d5859        2 years ago         204MB
ygorelik@ygorelik-VirtualBox:~/ydk-gen$

Yan Gorelik
YDK Solutions