Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17614 Disallow removal of virtual chassis from device if set as master #17731

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

arthanson
Copy link
Collaborator

Fixes: #17614

Raise error if removing the virtual chassis from a device if it is set as master. We could auto-remove it from master on the virtual-chassis, but it seems like in other places we disallow the removal so keeping it consistent.

@arthanson arthanson marked this pull request as ready for review October 10, 2024 18:45
netbox/dcim/models/devices.py Outdated Show resolved Hide resolved
@jeremystretch jeremystretch merged commit 9a655d8 into develop Oct 11, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17614-virtual-chassis-master branch October 11, 2024 20:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual Chassis still has master after member removed
3 participants