-
Hello, i've searched far and wide on how to reference objects correctly. Ive seen multiple issues regarding this, but not an correct statement in those on how its done, neither have i found something in the documentation. Thus here: I've been trying to Import devices - but the parent device does not have an name - thus the question: Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
What kind of import: CSV? REST API / pynetbox? Django API / nbshell? Have you tried using the device ID? Did it work or did you get an error? If so, show the data you submitted and what error you got. A parent device is normally a blade chassis or some similarly important piece of kit, and therefore it usually makes sense to give it a name and to label it. Otherwise, you have to refer to it as "that HP blade chassis that sits in rack X position Y". |
Beta Was this translation helpful? Give feedback.
-
###Answer Copy Pasted from
|
Beta Was this translation helpful? Give feedback.
###Answer Copy Pasted from
#6718 (reply in thread)
Aha, got it. This works: put
parent.id
as the CSV column name.The posting at the top of #3147 was just a thought, not an actual specification.