-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v2.11.2
Python version
3.9
Steps to Reproduce
- Create 2 VMs with 2 interfaces each
- Try to assign a parent interface to one of the 4 interfaces.
- All 4 interfaces will be shown in the
Parent interfacedropdown
Expected Behavior
Only the interfaces for the current VM are able to be selected as a parent interface.
Observed Behavior
The following (incorrect) query is made.
http://localhost:8080/api/virtualization/interfaces/?q=&limit=50&offset=0&brief=true&virtualmachine_id=1
virtualmachine_id should be virtual_machine_id according to the API docs.
I have a patch ready to go if this issue is accepted.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application