peterbaumert / netbox-device-view

47 stars 6 forks source link

Double device generation on device view #11

Open deku-m opened 1 year ago

deku-m commented 1 year ago

While testing the plugin i notice the following when the device is configured is a member of a virtual switch i think see below screenshots. Device without Virtual Chassis: afbeelding

Device as member Virtual Chassis: afbeelding

I dont think it needs to create device 2 if physical the device is only 1. Or it will become front and back which then makes more sense 👍

peterbaumert commented 1 year ago

I looked into this and i think it has to do with the "port detection" where the regex i use asumes there is a port on device two. This will be changed.