miaow2 / netbox-config-diff

Find diff and push rendered device configurations from NetBox to devices and apply them.
https://miaow2.github.io/netbox-config-diff/
Apache License 2.0
78 stars 5 forks source link

Add support for NetBox 4.1 #79

Closed miaow2 closed 1 month ago

chris240189 commented 1 month ago

I tried updating to v4.1 and ran into this error:

from dcim.api.serializers import NestedDeviceSerializer, NestedPlatformSerializer
ImportError: cannot import name 'NestedDeviceSerializer' from 'dcim.api.serializers' (/opt/netbox/netbox/dcim/api/serializers.py)

I tried updating to v4.1 without the plugin, then installing afterwards, the same issue.

I wonder how netbox-config-diff will integrate with the new netbox branching feature.

miaow2 commented 1 month ago

Hi @chris240189, support for 4.1 NetBox is in progress,

About branching, in theory, it should work out of the box, because all plugins models use ChangeLoggingMixin, but I will check the compatibility with branching feature after adding support for 4.1