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
248 stars 75 forks source link

Add more info to failed device_type creations #81

Closed p-rintz closed 1 year ago

p-rintz commented 1 year ago

This adds the manufacturer and model to failed device_type creations and then continues with others.

Previously, the script would throw an exception, because the 'dt' wasn't actually created, but tried to continue working with it.

I have also fixed the small issue in repo.py we talked about.

danner26 commented 1 year ago

Awesome thanks!