nautobot-app-ssot icon indicating copy to clipboard operation
nautobot-app-ssot copied to clipboard

Hardware Serial Number

Open ghost opened this issue 2 years ago • 3 comments

Environment

  • nautobot version: 1.5.x
  • nautobot-ssot-ipfabric version: 2.0.0
  • ipfabric version: 6.x

Summary

IP Fabric records two serial numbers:

  • "Unique Serial Number"
    • Column sn
  • "Serial Number"
    • Column 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 the snHw which is not correct from the description above.

Proposed Functionality

  • Add new custom field IPFabric Serial Number or IPFabric Unique Serial Number?
  • Sync jobs still use the sn field as this is a unique value and ensures all data is sync'ed correctly.
  • Update sync jobs to use snHw for the Device Serial Number
  • Add sn data to custom field.

Open Questions

  • Can Nautobot have duplicate Serial Numbers?
    • YES
  • Can this be configurable?
    • CONFIG.get("default_device_serial_number", "sn" or "snHw")
  • How do we migrate users?
    • SN might be an important field for their current automation.

Use Case

Device: L71FW9

Hostname,Unique serial number,Serial Number
hostname,sn,snHw
L71FW9/root,FOSVM1HHJXBALLD7/root,FOSVM1HHJXBALLD7
L71FW9/ipf,FOSVM1HHJXBALLD7/ipf,FOSVM1HHJXBALLD7

ghost avatar Jan 25 '22 13:01 ghost