-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.3.7
Python version
3.9
Steps to Reproduce
- Create a device
- create an IP and assign it to the device as primary IP
- edit the IP address,
- uncheck the "Make this the primary IP for the device/VM" box
- clear the interface and device dropdown
- save the IP
Expected Behavior
The IP is removed from the devices as primary IP and removed from the interface.
Observed Behavior
An error is shown
`IP address is primary for virtualmachine/device somedevice but not assigned to it!'
Unchecking the "Make this the primary IP for the device/VM" should automatically remove the IP as primary from the device.
Otherwise, this takes a lot of more steps (get back to the device, edit the device, remove the primary ip assignment, save the device, edit the ip, remove the interface/device, save the ip)
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application