Hi Team,
I'm having some trouble when executing the sample script at
http://ydk.cisco.com/py/docs/api/services/gnmi_service.html#gnmi-service-examples
Running the script results in the following error:
Traceback (most recent call last):
File "gnmi-test.py", line 45, in <module>
pool.map(subscribe, print_telemetry_data)
File "/usr/lib/python3.5/multiprocessing/pool.py", line 260, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.5/multiprocessing/pool.py", line 343, in _map_async
iterable = list(iterable)
TypeError: 'function' object is not iterable
The script, while identical, has necessary changes to reflect my environment such as IP, Port, username, and password, along with the YANG path for the repository.
Running python 3.5.2, ubuntu 16.04.
partial pip list -
ydk (0.8.3)
ydk-models-cisco-ios-xr (6.6.2)
ydk-models-ietf (0.1.5.post2)
ydk-models-openconfig (0.1.6.post1)
ydk-service-gnmi (0.4.0.post2)
Appreciate any guidance and assistance.
Thanks,
RK