06-17-2021 08:55 AM
I want to develop ncclient based python scripts in nexus devbox but i am unable to install any packages. How should one test netconf scripts with the devbox. I tried using guestshell directly on the virtual nexus switch and the same result (error) occurs. I can access the switch as well as devbox fine but they are not really useful if I can't install additional libraries like ncclient.
Please help.
Thx
Sudhir
06-17-2021 09:32 AM
Hello @srustogi by design the DevNet sandboxes have limited or no internet access - this is for security posture this is the reason you will see a failure in access external resources in this case.
Hope this helps.
06-17-2021 09:59 AM
I understand the security posture but then why are common libraries such as ncclient not already part of the devbox. How is someone to test programmability then?
06-17-2021 12:29 PM
Hello @srustogi i do not know from the top of my head which libraries are installed on this devbox in this sandbox. Having a devbox in a Sandbox is useful for labs and demos, however, a big part of our devnet learning material is helping users become comfortable with running automation exercises on their own systems - as such we do not recommend running code from the devbox (unless stated a learning lab). Also, the devbox's are not permitted to allow sudo/admin access privs (again security reasons).
Typically I run all code from my local machine (Macbook) to the IP of the sandboxes.
Hope this helps.
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