Assigned untagged VLAN seems not to be removed correctly when 802.1Q Mode is deleted #4301

Closed
opened 2025-12-29 18:34:31 +01:00 by adam · 2 comments
Owner

Originally created by @anlu85 on GitHub (Nov 25, 2020).

Environment

  • Python version: 3.7.3
  • NetBox version: 2.9.9

Steps to Reproduce

  1. Create an interface with 802.1Q Mode = Access and assign an untaged VLAN
  2. Update changes
  3. Edit the interface and remove 802.1Q mode (with 'remove all items')
  4. Read out the interfaces property 'untagged_vlan' with API or script

In Script / API-Call:

  • Ports mode is 'null'
  • no untagged_vlan is assigned

In Script / API-Call:

  • Ports mode is 'null'
  • untagged_vlan is still assigned
  • Assigned untagged VLAN is not visible in web interface
Originally created by @anlu85 on GitHub (Nov 25, 2020). ### Environment * Python version: 3.7.3 * NetBox version: 2.9.9 ### Steps to Reproduce 1. Create an interface with 802.1Q Mode = Access and assign an untaged VLAN 2. Update changes 3. Edit the interface and remove 802.1Q mode (with 'remove all items') 4. Read out the interfaces property 'untagged_vlan' with API or script <!-- What did you expect to happen? --> In Script / API-Call: - Ports mode is 'null' - **no untagged_vlan is assigned** <!-- What happened instead? --> In Script / API-Call: - Ports mode is 'null' - **untagged_vlan is still assigned** - Assigned untagged VLAN is not visible in web interface
adam closed this issue 2025-12-29 18:34:31 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 25, 2020):

Looks like duplicate of #5360 (fixed in v2.9.10)

@jeremystretch commented on GitHub (Nov 25, 2020): Looks like duplicate of #5360 (fixed in v2.9.10)
Author
Owner

@anlu85 commented on GitHub (Nov 25, 2020):

Looks like duplicate of #5360 (fixed in v2.9.10)

Oh, you're right... Sorry for the repost.
(I just released I only checked for open issues before posting...)

@anlu85 commented on GitHub (Nov 25, 2020): > Looks like duplicate of #5360 (fixed in v2.9.10) Oh, you're right... Sorry for the repost. (I just released I only checked for open issues before posting...)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4301