netbox-community / Device-Type-Library-Import

This library is intended to assist with importing device and module types into NetBox from the NetBox Community DeviceType-Library
https://github.com/netbox-community/devicetype-library
MIT License
265 stars 81 forks source link

Some Ubiquiti Devices Don't import #118

Closed savaloi closed 6 months ago

savaloi commented 11 months ago

I've just run the script today to import Ubiquiti devices to my existing docker instance and noticed that some (two?) devices weren't imported. Seemingly with no errors displayed - but perhaps I'm not reading the log correctly.

The output says 118 device-types found, but only 116 imported. I noticed that the UniFi Dream Machine Pro wasn't imported (But the UDM & UDM Pro SE were imported successfully), and another unknown device-type also wasn't imported.

I've temporarily solved this my manually importing the UDMP, but it would be good to see this fixed please.

Here's the script I ran: docker run -e "NETBOX_URL=http://:/" -e "NETBOX_TOKEN=" -e "VENDORS=Ubiquiti" ghcr.io/minitriga/netbox-device-type-library-import > devimport.log

If it's helpful, here's the output: devtypeimport.log

netravnen commented 6 months ago

@savaloi Can be closed?

Using the latest version of the device importer and netbox 3.7.4. They are imported.

image

danner26 commented 6 months ago

@savaloi the docker image is not updated, we currently do not have a way and do not plan on figuring out a way to update it at the moment. One day we will get around to it, but it is best to use this locally