Skip to content

Prevent the deletion of interfaces which have children assigned #12135

@MrPaulAR

Description

@MrPaulAR

NetBox version

v3.4.7

Feature type

Change to existing functionality

Proposed functionality

When a parent interface is removed the child interface remains. There was some discussion in #9359 (comment) regarding this but I don't think it was ever implemented or an explicit decision to not add this feature.

Initial state
image

After deleting the parent interface
image

The same is true when deleting a module. The parent interface is remove but the child persists.

Use case

I'm sure there are exceptions but I would think the child interfaces should be removed whenever the parent is deleted.

Database changes

I'm not smart enough for this.

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions