Skip to content

From the GUI we can't assign vlans from a VLAN Group with Virtualization Cluster as scope (works with the API) #12690

@SteveRodrigue

Description

@SteveRodrigue

NetBox version

v3.3.10

Python version

3.9

Steps to Reproduce

  1. Create a device in a site. <-- Will be referred to "the device" from now on.
  2. Create a Virtualization Cluster with at least the device.
    2a. Create in the IPAM a VLAN Group attached to the site of the device (created in step 0).
    2b. Create in the IPAM a VLAN Group attached to the just created Virtualization Cluster.
  3. Create at least 1 vlan in that newly created VLAN Groups (site and cluster based).
    4a. From the web GUI try to attach this Virtualization Cluster VLAN (from step 3) to an interface on a device in the group (from step 1). <-- The vlan don't show up in the drop down list.
    4b. From the API, we can assign the vlan that is impossible to assign from the GUI.

Expected Behavior

The WEB Gui dropdown list should pull from the appropriate VLAN group. It looks like the the list that is pulled by default is the "site" vlan group and we can't override the behaviour.

Observed Behavior

When using the API, this limitation si not present. In fact, since it's working the WEB Gui display the correct vlan until we try to edit the interface, then when we select the vlans, the Virtualization vlan disappear from the list and it is replaced by the list of vlans from the site group instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: revisions neededThis issue requires additional information to be actionabletype: bugA confirmed report of unexpected behavior in the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions