You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the ask feature to get the password info at the beginning of the script so that I do not have to worry about storing it in a text, csv, or yaml file. I ran the exact same script with the username and password in the YAML file for 100 devices and it is successful. When I remove all of the username and passwords and put the below info in script, it fails at different devices. When I reduced the number of devices in the script, it was successful. I would think this is a Unicon issue because I am not even using pyATS to run the script, just python3 and unicon. I can also say I am using a Unicon Plugin aos device which I wrote the plugin for so it would be good to test if large number of Cisco devices fail with same type of script. The script I am running logs into a device, runs a show command, and moves on to the next device.
testbed:
credentials:
default:
password: "%ASK{Password:}"
username: TESTUSER
enable:
password: "%ASK{Enable_Password:}"
The text was updated successfully, but these errors were encountered:
Hi, thanks for your finding, we'd like to welcome the user to contribute to the fix, so feel free to contribute and if you need some helps, please let us know.
ok great Alex, you should be able to access to all the files on unicon plugins,
You probably know this, but just make sure when you contribute, please make a branch out of the original master branch of unicon plugins, not from your forked repos.
I'll close the issue for now, once you are free to contribute, please create a PR and assign me so that we can follow up.
I am using the ask feature to get the password info at the beginning of the script so that I do not have to worry about storing it in a text, csv, or yaml file. I ran the exact same script with the username and password in the YAML file for 100 devices and it is successful. When I remove all of the username and passwords and put the below info in script, it fails at different devices. When I reduced the number of devices in the script, it was successful. I would think this is a Unicon issue because I am not even using pyATS to run the script, just python3 and unicon. I can also say I am using a Unicon Plugin aos device which I wrote the plugin for so it would be good to test if large number of Cisco devices fail with same type of script. The script I am running logs into a device, runs a show command, and moves on to the next device.
testbed:
credentials:
default:
password: "%ASK{Password:}"
username: TESTUSER
enable:
password: "%ASK{Enable_Password:}"
The text was updated successfully, but these errors were encountered: