Open ghost opened 2 years ago
Is this a network device serial number?
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
Note: This is an old snapshot; newer snapshots use FGVMEV7OFHYVLX5D/root instead of FGVMEV7OFHYVLX5D_root
This is an issue also with Cisco SD-WAN devices the sn and snHw are completely different.
Environment
Summary
IP Fabric records two serial numbers:
sn
snHw
(Hardware Serial Number)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 thesnHw
which is not correct from the description above.Proposed Functionality
IPFabric Serial Number
orIPFabric Unique Serial Number
?sn
field as this is a unique value and ensures all data is sync'ed correctly.snHw
for the Device Serial Numbersn
data to custom field.Open Questions
CONFIG.get("default_device_serial_number", "sn" or "snHw")
Use Case
Device: L71FW9