Skip to content

DCIM Interface: ObjectChange missing for deleted untagged VLANs #18717

@moonrail

Description

@moonrail

Deployment Type

NetBox Cloud (demo), Self-hosted

NetBox Version

v4.2.0 (demo.netbox.dev) & v4.1.11 (locally)

Python Version

3.11

Steps to Reproduce

  1. Have an Device with an Interface
  2. Have two VLANs: A & B
  3. Set Device Interface mode to "tagged"
  4. Add VLAN A as untagged VLAN to Interface
  5. Add VLAN B as tagged VLAN to Interface
  6. Delete VLAN B
  7. Delete VLAN A

Expected Behavior

Interface ObjectChange update for each VLAN deletion:

  1. tagged_vlans to empty list
  2. untagged_vlan to null/None

Observed Behavior

Only one Interface ObjectChange update is created for VLAN deletion: tagged_vlans.

No Interface ObjectChange is created for untagged_vlan when related VLAN is deleted. According to Interface Changelog the Interface still has an untagged_vlan when in fact it does not exist anymore.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions