vminterface can set itself as parent #4774

Closed
opened 2025-12-29 19:20:20 +01:00 by adam · 0 comments
Owner

Originally created by @candlerb on GitHub (Apr 16, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v2.11 beta on beta.netbox.dev

Python version

3.7

Steps to Reproduce

  1. Go to a VM
  2. Select "add interface", create e.g. "eth0.100" and save
  3. Edit the interface
  4. Set parent to "eth0.100" and save

Expected Behavior

Should not be able to select itself as a parent

Observed Behavior

Can select itself as parent.

(This is different with devices. The interface itself still appears in the parent dropdown, but an attempt to save is rejected with an error)

Originally created by @candlerb on GitHub (Apr 16, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v2.11 beta on beta.netbox.dev ### Python version 3.7 ### Steps to Reproduce 1. Go to a VM 2. Select "add interface", create e.g. "eth0.100" and save 3. Edit the interface 4. Set parent to "eth0.100" and save ### Expected Behavior Should not be able to select itself as a parent ### Observed Behavior Can select itself as parent. (This is different with devices. The interface itself still appears in the parent dropdown, but an attempt to save is rejected with an error)
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:20:20 +01:00
adam closed this issue 2025-12-29 19:20:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4774