Skip to content

v0.4.6

Choose a tag to compare

@bonzo81 bonzo81 released this 20 Apr 10:19
· 1469 commits to master since this release
5e103c0

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.

All Changes

  • fix: prevent stale module_bay_count on VC master after import by @bonzo81 in #275