Validation fails when assigning a non-global VLAN to an interface via the API #1591

Closed
opened 2025-12-29 16:33:15 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Mar 1, 2018).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.0

Description

Validation fails when attempting to assign a non-global VLAN to an interface via the API. This is due to flawed logic in the WritableInterfaceSerializer.

Originally created by @jeremystretch on GitHub (Mar 1, 2018). ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.3.0 ### Description Validation fails when attempting to assign a non-global VLAN to an interface via the API. This is due to flawed logic in the WritableInterfaceSerializer.
adam added the type: bugstatus: accepted labels 2025-12-29 16:33:15 +01:00
adam closed this issue 2025-12-29 16:33:16 +01:00
Author
Owner

@lampwins commented on GitHub (Mar 1, 2018):

I will also add that the current logic does not validate the untagged_vlan in any way.

@lampwins commented on GitHub (Mar 1, 2018): I will also add that the current logic does not validate the `untagged_vlan` in any way.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1591