cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
329
Views
3
Helpful
1
Replies

Device on-boarding

michaelbonnettjr
Cisco Employee
Cisco Employee

Hi,


My customer is looking for a way to ask NSO if a device has already been on-boarded prior to attempting to add the device to NSO.  For example, is there a way to search NSO for a mac-address or serial number prior to the device being added to NSO.  The devices/device/<NAME>/platform area has some fields that appear that they could be used for that purpose.


Regards,


Michael Bonnett, Jr.

1 Reply 1

alam.bilal
Cisco Employee
Cisco Employee

Hi There,

Probably best to use the serial-number. That is what PnP uses to correlate when a device calls back home.Plus some of the NEDs already read and cache it under /devices/device/platform/serial-number

The query API can be leveraged here. Please note that the query API is asynchronous. So if synchronous behaviour is desired perhaps write an Action for this.

Thanks.