-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationstatus: blockedAnother issue or external requirement is preventing implementationAnother issue or external requirement is preventing implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Milestone
Description
Deployment Type
NetBox Cloud
NetBox Version
v4.2.2
Python Version
3.12
Steps to Reproduce
- create a Site "New York"
- create as Site Group "USA"
- assign site "New York" to Site Group "USA"
- create a VLAN group "example group" with scope Site and and site "New York"
- create a VLAN "example VLAN" and assign both site "New York" and and group "example group"
- change scope of VLAN group "example group" to Site-Group and select group "USA"
- try to create a new VLAN "example with issue" and assign both site "New York" and and group "example group"
Expected Behavior
That the VLAN "example with issue" can be assigned to VLAN group "example group" and site "New York" at the same time.
Observed Behavior
Step 7 will fail, even though "example VLAN" is assigned to exactly the same set of site and group
Error message:
VLAN is assigned to group example group (scope: USA); cannot also assign to site New York.
This could be solved by:
- changing VLAN to use scope as well:
dcim.siteandipam.vlangroup - permit both but add add constrains checking during add of a VLAN and at the change of the VLAN group scope to not violate the conditions of the currently assigned VLANs to that group
- make the usage of site and group exclusive for a VLAN. Either site or group, not both.
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationstatus: blockedAnother issue or external requirement is preventing implementationAnother issue or external requirement is preventing implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application