homelabby/internal/netbox
Mikkel Georgsen e1cee31620 feat(01-04): HW-XXXXX sequential ID allocation
- formatHWID/parseHWID with HW-NNNNN regex validation
- AllocateNextHWID with optimistic-lock retry (3 attempts)
- getHighestHWIDNumber scans all devices for highest existing asset_tag
- hwIDExists checks specific asset_tag via DcimDevicesList filter
- Unit tests for format/parse covering valid and invalid cases
2026-04-10 05:20:41 +00:00
..
client.go feat(01-02): NetBox client wrapper with device CRUD (NB-01) 2026-04-10 05:16:17 +00:00
client_test.go feat(01-02): NetBox client wrapper with device CRUD (NB-01) 2026-04-10 05:16:17 +00:00
custom_fields.go feat(01-02): custom field read/write wrappers (NB-02) 2026-04-10 05:17:11 +00:00
custom_fields_test.go feat(01-02): custom field read/write wrappers (NB-02) 2026-04-10 05:17:11 +00:00
hwid.go feat(01-04): HW-XXXXX sequential ID allocation 2026-04-10 05:20:41 +00:00
hwid_test.go feat(01-04): HW-XXXXX sequential ID allocation 2026-04-10 05:20:41 +00:00
types.go feat(01-02): NetBox client wrapper with device CRUD (NB-01) 2026-04-10 05:16:17 +00:00