02-28-2019 04:24 PM
Is it still required to re-create a netsim device if the associated NED is upgraded? Is there any shortcut/tool to get the existing netsim devices "updated" with new NED without having to delete it and recreate and sync-to?
thanks!
03-01-2019 01:22 AM
03-03-2019 04:01 AM
To recreate the exact set of devices you have at the moment, you can display the content of file netsim/README.netsim.
('netsim' being your netsim directory). This file holds the command that were used for creating your current netsim devices.
So if you copy the ncs-netsim lines from this file, run ncs-netsim delete-network, and then paste the commands you copied, you should be left with the exact same devices, using the same ports as before (meaning that no configs are required in order to reconnect with the devices on NSO side - maybe fetch ssh keys).
If you need the actual configs that were on those devices, then you should be able to run sync-to at this point from NSO, and get the old configs synced back to them from NSO (excluding content in any non-backward compatible nodes in the data model).
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: