when importing devices, why are both manufacturer and device type required #22000
-
|
hi, when importing devices |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi, Good question. The reason both fields are required is that a device type slug is only unique within a manufacturer, not globally across all manufacturers. For example, two different manufacturers could both have a device type with the same slug or model name. Because of that, NetBox cannot safely assume that the slug alone identifies a single device type. Including the manufacturer makes the lookup unambiguous and prevents the import from accidentally matching the wrong device type. So in short: the manufacturer + device type slug combination is needed to uniquely identify the device type during import. |
Beta Was this translation helpful? Give feedback.
Hi,
Good question. The reason both fields are required is that a device type slug is only unique within a manufacturer, not globally across all manufacturers.
For example, two different manufacturers could both have a device type with the same slug or model name. Because of that, NetBox cannot safely assume that the slug alone identifies a single device type. Including the manufacturer makes the lookup unambiguous and prevents the import from accidentally matching the wrong device type.
So in short: the manufacturer + device type slug combination is needed to uniquely identify the device type during import.