11-02-2022 06:58 AM
Hi,
I am from spitfire-l2fib team, and we are trying to use yangsuite APIs in our nightly sanity script. One issue we hit is that, our sanity script requires textfsm 1.1.0 and above, while yangsuite requires textfsm under 0.4.1. This version conflict causes error in ysdevice initialization when it tries to load dependent modules, and the error said version check failed. Given that textfsm 0.4.1 is really old, we don't want to downgrade it.
I figured out that following modifications to yangsuite would allow everything (by everything I mean both our sanity script and yangsuite GUI) to go through with the latest textfsm:
I guess that yangsuite's requirement that textfsm <= 0.4.1 is probably due to the incompatibility between netmiko and textfsm -- netmiko used to have script error with textfsm > 0.4.1, but this issue has been addressed in netmiko 2.4.1.
My questions:
1. Is the reason of textfsm version requirement just netmiko incompatibility, or are there any other reasons?
2. While manually changing version requirements work, it looks more like a hacking to me and I definitely don't want our team to do that. Therefore I would like to bring this to yangsuite community: Is it possible to allow a later textfsm/netmiko in the next yangsuite release?
Solved! Go to Solution.
11-03-2022 11:24 AM
Thanks a lot Barry!
yangsuite team filed a ddts to loosen the version requirements. Hopefully we can get everything through in the next release.
11-02-2022 08:38 AM
Hello @tonzhou ,
I am not part of the Yangsuite development team, but I'm a user like yourself. I would recommend creating an issue for a feature request on the GitHub repo at https://github.com/CiscoDevNet/yangsuite, or since it sounds like you have the fix for it, you can also submit a Pull Request. Either way that would be the best way to document the feature request. Hope that helps
Thanks,
Barry
11-03-2022 11:24 AM
Thanks a lot Barry!
yangsuite team filed a ddts to loosen the version requirements. Hopefully we can get everything through in the next release.
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