netbox-bgp icon indicating copy to clipboard operation
netbox-bgp copied to clipboard

error

Open kprklg opened this issue 1 year ago • 1 comments

NetBox Community v4.1.4

cd /opt/netbox/netbox source /opt/netbox/venv/bin/activate pip install netbox-topology-views --upgrade python3 manage.py collectstatic --no-input python3 manage.py collectstatic python3 manage.py migrate python3 manage.py reindex --lazy

SystemCheckError: System check identified some issues:

ERRORS: netbox_bgp.PrefixList.tags: (fields.E304) Reverse accessor 'Tag.prefixlist_set' for 'netbox_bgp.PrefixList.tags' clashes with reverse accessor for 'netbox_routing.PrefixList.tags'. HINT: Add or change a related_name argument to the definition for 'netbox_bgp.PrefixList.tags' or 'netbox_routing.PrefixList.tags'. netbox_routing.PrefixList.tags: (fields.E304) Reverse accessor 'Tag.prefixlist_set' for 'netbox_routing.PrefixList.tags' clashes with reverse accessor for 'netbox_bgp.PrefixList.tags'. HINT: Add or change a related_name argument to the definition for 'netbox_routing.PrefixList.tags' or 'netbox_bgp.PrefixList.tags'.

Screenshot 2024-10-18 165037

kprklg avatar Oct 18 '24 13:10 kprklg

https://github.com/netbox-community/netbox/discussions/14466

pl0xym0r avatar Oct 23 '24 07:10 pl0xym0r

This is not a bug and I'm going to close this issue.

netbox-routing uses the same model names as NetBox BGP so this is expected. I've spoken to Dan on this and his point is PrefixLists can be used in multiple routing protocols which his plugin has - valid point.

But whilst thats the case, you will need to choose either netbox-bgp or netbox-routing.

cruse1977 avatar Oct 29 '24 22:10 cruse1977