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
Based on the error, it seems ydk-py is not installed correctly. Could your ydk-py be installed in a different python environment?
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)
Were you able to get your installation working?
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
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