I want to use libnetconf as a netconf server and client lib for my application in device.
I have YANG modules available for my application. But in the device pyang is not present. Do I need PYANG in my device also to use libnetconf.
When i am using lnctool to generate .yin file for my module, it is giving
ambika@ambika-VirtualBox:~$ lnctool --model /home/ambika/modules/mo...@2013-03-21.yang convert
Traceback (most recent call last):
File "/usr/local/bin/lnctool", line 428, in <module>
model = convert_to_yin(args.model.name, args.search_path)
File "/usr/local/bin/lnctool", line 63, in convert_to_yin
yin_data = subprocess.check_output(['pyang', '-p', search_path, '-f', 'yin', input_file_name])
File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
br,
Ambika