08-20-2017 04:35 PM
Hi mates,
I am trying to test OpenConfig/NetConf with YANG Development Kit on my local test bed. The IOS-XRv 6.1.2 nodes along with Ubuntu Servers are mounted on vSphere host and the proper connectivity.
I followed the steps to install YDK-Gen along with the YDK-Py as listed on this site : http://ydk.cisco.com/py/docs/getting_started.html#how-to-install
So far I haven't been able to start the ydk services properly as shown below:
nextcomm@ntc-ubuntu-server-3:~/automation/ydk-py-master/ydk-py-samples$ python hello-ydk.py
Traceback (most recent call last):
File "hello-ydk.py", line 23, in <module>
from ydk.services import CRUDService
ImportError: No module named services
Any advice or tip will be appreciated.
Thanks,
JM
08-20-2017 09:09 PM
Based on the error, it seems ydk-py is not installed correctly. Could your ydk-py be installed in a different python environment?
08-21-2017 11:13 AM
Hi abhirame,
Thanks for the quick response.
I used the following steps to install YDK Packages on my Ubuntu Server 14.06. Am I missing something ?
I will ping you (jngokgwe)
09-07-2017 03:13 PM
Were you able to get your installation working?
04-06-2019 06:21 PM
Yes it worked very well on Ubuntu. Please refer to this link for reference : https://community.cisco.com/t5/xr-os-and-platforms/netconf-and-yang-deployment-guide-on-ios-xr-ios-xe-and-nx-os/td-p/3186215
04-29-2019 10:52 AM
Hi Jean-Marie
The link is having syntax errors.
Have you tried to install the latest YDK release 0.8.2?
What is the platform that you are having installation issues?
Currently supported Ubuntu releases are Xenial and Bionic. Any considerations for you to upgrade?
Thanks,
Yan
12-29-2023 01:41 PM
Hello ygorelik,
Is this link working, https://community.cisco.com/t5/xr-os-and-platforms/netconf-and-yang-deployment-guide-on-ios-xr-ios-xe-and-nx-os/td-p/3186215 ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide