nautobot / nautobot-app-ssot

Single Source of Truth for Nautobot
https://docs.nautobot.com/projects/ssot/en/latest/
Other
35 stars 33 forks source link

Hardware Serial Number #197

Open ghost opened 2 years ago

ghost commented 2 years ago

Environment

Summary

IP Fabric records two serial numbers:

Nautobot has a single serial number for a device under "Hardware" with a description of "Chassis serial number".

Currently, the SSOT syncs the IPF sn and not the snHw which is not correct from the description above.

Proposed Functionality

Open Questions

Use Case

Device: L71FW9

Hostname,Unique serial number,Serial Number
hostname,sn,snHw
L71FW9/root,FOSVM1HHJXBALLD7/root,FOSVM1HHJXBALLD7
L71FW9/ipf,FOSVM1HHJXBALLD7/ipf,FOSVM1HHJXBALLD7
pke11y commented 1 year ago

Is this a network device serial number?

ghost commented 1 year ago

In IP Fabric sn column or Unique Serial Number is an IP Fabric unique SN. In many cases the Hardware Serial Number (snHw) matches the sn however some devices that have virtualized devices will be changed to snHw/<vsys or context name>.

Example:

L71-FW12/root
role: Network Device
model: Default-fortinet
status: Active
vendor: Fortinet
location_name: L71
serial_number: FGVMEV7OFHYVLX5D_root

image

Note: This is an old snapshot; newer snapshots use FGVMEV7OFHYVLX5D/root instead of FGVMEV7OFHYVLX5D_root

collinsjas commented 5 months ago

This is an issue also with Cisco SD-WAN devices the sn and snHw are completely different.