Skip to content

Extend VLAN Group Scope to Include Virtualization Clusters #18836

@Jan-rockawayx

Description

@Jan-rockawayx

NetBox version

v4.2.4

Feature type

Change to existing functionality

Proposed functionality

Currently, VLAN Groups are scoped only to DCIM > Devices, meaning that VLANs assigned to a VLAN Group are visible only to physical devices. However, in many deployments, Clusters in Virtualization share the same infrastructure and should have visibility into the same VLANs.

I propose extending VLAN Group scope to include Virtualization > Clusters, so that VLANs assigned to a VLAN Group are available to both:

Physical devices (DCIM > Devices)
Clusters (Virtualization > Cluster) and their Virtual Machines

Suggested Implementation

Modify VLAN Group scope to allow selecting Virtualization > Cluster in addition to DCIM > Devices.
Ensure VLANs assigned to a VLAN Group are also available to Virtual Machine interfaces when the Cluster belongs to that group.
Update UI and API to reflect the new scope options.

Use case

In environments where Clusters and physical servers share the same rack, the VLAN visibility should be consistent.

This change would ensure that:

Virtual Machines within a Cluster can access the same VLANs as physical servers in the same rack.
Networking policies and VLAN assignments are more unified across physical and virtual infrastructure.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featureIntroduction of new functionality to the application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions