netbox-community / netbox-demo-data

Demo data useful for populating demo instances of NetBox
MIT License
19 stars 8 forks source link

. #3

Closed sw8899 closed 3 years ago

sw8899 commented 3 years ago

Hi all I try to import hundreds of patch panel rear-port connections. I have different sites and the rack names and patch panel names are identical in different sites. e.g. PPC-a-A01-01 for a copper patch panel in Rack A01. The general data model of netbox supports to have identical device names in different sites. When I try to import I get the following errors:

Enter the list of column headers followed by one line per record to be imported, using commas to separate values. Multi-line data and values containing commas may be wrapped in double quotes. • Row 1 side_a_device: "PPC-a-A01-01" is not a unique value for this field; multiple objects were found • Row 1 all: Termination A type has not been specified

" side_a_device: "PPC-a-A01-01" is not a unique value for this field; multiple objects were found" Yes thats true. Shouldn't the cable bulk import have the possibility to define the site of the device?

My trouble shooting attempts: A) On the bottom of the cable bulk import site there is a tip: "Related objects may be referenced by any unique attribute. For example, vrf.rd would identify a VRF by its route distinguisher." I try to understand this and googled a lot, but I don't get it. -Where/how can they be referenced? -Can I reference the site? B) I also read posts that say, that the bulk import can be customized. But I can't find any documentation about it

thx

sw8899 commented 3 years ago

wrong place to post