Netsim does not have Network Element Driver registered
Hey NSO Community!
I am hitting an issue with setting up a CI system with NSO and Netsims for testing. I am running NSO in a container that wcan be run locally or on a jenkins server to execute unittests and package validation.
I create and add the netsims by:
1. ncs-netsim create-network cisco-ios 1 dummy
2. ncs-netsim add-device ios-device-0 cisco-ios
3. ncs-setup .
Then run a script to execute "sync-from-file PATH/device_config/ios-device-0-config.txt" on the netsim to get config from a text file.
The issue i have, is that when trying to use live status exec actions or make config changes on the added netsims I get the error:
"_ncs.error.Error: item does not exist (1): Device ios-device-0 does not have a Network Element Driver registered "
I have confirmed that the netsim has a ned registered in device settings.
again, the odd thing is it all works when i run the container on a jenkins server, but not when locally on MacOS. The hope with the container was the ability o have consistency between the local dev, CICD test env, and production env.
Thoughts on the cause of the does not have a Network Element Driver registered issue?
We are excited to announce that our call for speakers for our upcoming Developer Days events is open!
Automation is a journey in itself and no two journeys are alike. Planning and preparation are a must for any major project. Having an open mind to u...
Learning NSO hasn't been easier!
Although navigating the offerings may need some guidance.
You basically have two options, one instructor-led and one self-paced using free resources on DevNet. We of course recommend using both options.