02-12-2019 03:44 AM - edited 03-01-2019 04:16 AM
Hi all, I was wondering if there was a way to bulk add and delete devices from NSO? I have created an auth group, but I have over 100 devices to add to it and then fetch ssh keys, so I was wondering if there was a quicker way. Initially I tried load merge of an xml file, but this still means I have to fetch the ssh keys. I'd like a way to remove these and try again with a better method.
Has anyone done this before?
02-12-2019 03:50 AM
An XML file is certainly one good way to go. I would guess that most people with a large number of devices wrap their on boarding actions in some kind of script, especially if it is an ongoing concern.
A helpful trick is that you can perform certain operations at all devices at once, so you can do for instance: request devices fetch-ssh-host-keys to fetch all keys and request devices sync-from to synchronize all of them at once.
02-12-2019 11:08 AM
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