-
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.4
Python version
3.10
Steps to Reproduce
- Create a device and add some module bays and no interfaces
- Create a second device and add some module bays and no interfaces
- Create a module type and add some interfaces to the module template
- Add a new module to a device making sure "Replicate components" is selected
- Observe that the device has the module inserted and that the interfaces on the device belong to the module
- Edit the module and move it to a bay in the second device
- Observe the interfaces table for both devices, the interfaces instantiated at 4 remain on the first device associated with the module that is now in the second device and that there is still no interfaces on the second device
- Observe that the modules table for the second device shows the module. Clicking on that module and viewing it's associated interfaces indicate that those interfaces remain associated with the first device.
Expected Behavior
Ideally changing the device to which a module is associated should move the interfaces to the new device. At a minimum, removing the association between between a device and an instance of a module should disassociate the interfaces generated from the module, perhaps leaving them as 'standalone' interfaces lest there be documented cables that need to be cleared up. Perhaps it should be impossible to remove a module while there are connected components associated with that module?
Observed Behavior
Interfaces (and perhaps other component types) remain associated with a module in a device even when that module is moved to a new device.
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