- CableRecord type added to types.go (ID, HWID, Label, TestData, CatalogStatus) - CreateCable(ctx, label, assetTag, testDataJSON) uses DcimCablesCreate - Sets test_data and catalog_status custom fields; hw_id if assetTag non-empty - Rejects empty label with sentinel error message - Unit tests use httptest.NewUnstartedServer (201 success, 422 error, empty label) |
||
|---|---|---|
| .. | ||
| ai | ||
| api | ||
| config | ||
| inventory | ||
| labels | ||
| netbox | ||
| printer | ||
| queue | ||
| tester | ||
| usb | ||