Repository navigation
v0.4.6
Bug Fix Release
Fix for virtual chassis master devices showing 0 module bays in the NetBox UI after import. The module_bay_count counter was being reset to 0 because a full save() on the master device during VC creation wrote stale in-memory counter values back to the database.
Fixes
- Fix VC master device showing 0 module bays after import by preventing stale counter overwrites during VC creation (#275)
- Defer VC master assignment until after all members are attached
- Add
_sync_module_bay_counter()safety net to reconcile counter after master assignment
Upgrade note
- No database migrations in this release. Standard update process applies.