Unable to assign LAG to interfaces on different virtual chassis member #4832

Closed
opened 2025-12-29 19:21:02 +01:00 by adam · 3 comments
Owner

Originally created by @KrisShannon on GitHub (Apr 27, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11.0

Python version

3.7

Steps to Reproduce

  1. Create a virtual chassis with at least two devices
  2. Create a LAG on one of the devices in the virtual chassis
  3. Edit an interface on a different device in the virtual chassis

Expected Behavior

LAG dropdown should include the LAG created in step 2

Observed Behavior

LAG dropdown does not show the LAG created in step 2

Originally created by @KrisShannon on GitHub (Apr 27, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11.0 ### Python version 3.7 ### Steps to Reproduce 1. Create a virtual chassis with at least two devices 2. Create a LAG on one of the devices in the virtual chassis 3. Edit an interface on a different device in the virtual chassis ### Expected Behavior LAG dropdown should include the LAG created in step 2 ### Observed Behavior LAG dropdown does not show the LAG created in step 2
adam added the type: bugstatus: accepted labels 2025-12-29 19:21:02 +01:00
adam closed this issue 2025-12-29 19:21:02 +01:00
Author
Owner

@KrisShannon commented on GitHub (Apr 27, 2021):

It looks like it was the Clean up parent/LAG interface form validation (d74c07e1a2) which lost this functionality.

@KrisShannon commented on GitHub (Apr 27, 2021): It looks like it was the `Clean up parent/LAG interface form validation` (d74c07e1a25b2e6aa440defcf2c4a71cbe32d10c) which lost this functionality.
Author
Owner

@jeremystretch commented on GitHub (Apr 27, 2021):

The root issue here is that the vc_interfaces() object method currently returns interfaces from other VC members only if the specified device has been designated as the VC master. I'm open to loosening this behavior, though we'll need to consider potential consequences of doing so elsewhere in the application.

@jeremystretch commented on GitHub (Apr 27, 2021): The root issue here is that the `vc_interfaces()` object method currently returns interfaces from other VC members _only_ if the specified device has been designated as the VC master. I'm open to loosening this behavior, though we'll need to consider potential consequences of doing so elsewhere in the application.
Author
Owner

@jeremystretch commented on GitHub (Apr 27, 2021):

Going to work around this by adding a boolean argument to vc_interfaces() to control the "only if master" behavior.

@jeremystretch commented on GitHub (Apr 27, 2021): Going to work around this by adding a boolean argument to `vc_interfaces()` to control the "only if master" behavior.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4832