01-27-2020 04:32 PM - edited 01-27-2020 04:32 PM
I am attempting to create a netsim device for APIC. After running
ncs-netsim create-device ./packages/cisco-apicdc dc-apic
*** The NED package called <./packages/cisco-apicdc/> doesn't have a
*** netsim directory. ncs-netsim cannot emulate
*** devices that do not have a netsim directory.
*** Maybe its a generic NED ?
Try ncs-netsim --help or man ncs-netsim to get usage text
I realized the NED does not includes a netsim directory with the appropriate config files to generate the device.
I am using this NED for NSO 4.7.5:
ncs-4.7.6-cisco-apicdc-3.2.5.tar.gz
Solved! Go to Solution.
01-29-2020 02:50 PM
01-29-2020 01:46 PM
@KJ Rossavik Any thoughts? Thanks
01-29-2020 01:57 PM
Generic NEDs often lack a meaningful netsim, because not much is gained from running them in netsim, since it is not possible to generate the server side of a REST API automatically from the client side.
One workaround is to create a device and then set southbound-locked on the device, this lets you pretend the device is there.
Another alternative, that exists in some NEDs but probably not the apic-dc is to run them as netconf devices in netsim. I have added that myself to the NED in the past, I don't know for sure what the policy is from the NED team, KJ probably knows better.
01-29-2020 02:50 PM
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