mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 09:25:53 +03:00
[GH-ISSUE #200] Query network interfaces by type #56
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andyjsmith on GitHub (Jun 10, 2025).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/200
When querying
node.Networks(), there is no way to set thetypeparam in the request. The Proxmox API docs make it seem like an absenttypemeans that you get all types, but that is not the case.For example,
<node>/network?type=any_bridgereturns bothbridgeandvnetinterfaces, yet<node>/networkdoes not return anyvnetinterfaces. So there is currently no way to listvnetbridges with go-proxmox.@andyjsmith commented on GitHub (Jun 14, 2025):
Added in #201