Closed Salise05 closed 1 month ago
I did not check it, but i think this is due to changes in newer Netbox, i will have to update my script to run with the current Netbox Version
Perfect thanks to you, the update has helped, I no longer get an error message
Traceback (most recent call last): File "/home/netboxuser/main.py", line 40, in
syncer.sync_assets_to_devices(assets)
File "/home/netboxuser/syncer.py", line 415, in sync_assets_to_devices
self.sync_device(nb_device_type, nb_tenant, netbox_devices, role, site, snipe_asset)
File "/home/netboxuser/syncer.py", line 486, in sync_device
self.__update_device(device, snipe_asset, nb_role, nb_site, nb_tenant, nb_device_type, False)
File "/home/netboxuser/syncer.py", line 437, in __update_device
if nb_device['device_role']['id'] != nb_role['id']: