mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-04 21:14:05 +00:00
fix(node): ignore field bridge_fd
when listing network interfaces of a node (#414)
This commit is contained in:
parent
16ee6a9f95
commit
01a845636a
@ -17,11 +17,14 @@ type NetworkInterfaceListResponseBody struct {
|
|||||||
|
|
||||||
// NetworkInterfaceListResponseData contains the data from a node network interface list response.
|
// NetworkInterfaceListResponseData contains the data from a node network interface list response.
|
||||||
type NetworkInterfaceListResponseData struct {
|
type NetworkInterfaceListResponseData struct {
|
||||||
|
// There seems to be inconsistency in the APIs between certain versions of Proxmox.
|
||||||
|
// See https://github.com/bpg/terraform-provider-proxmox/issues/410
|
||||||
|
// BridgeFD *int `json:"bridge_fd,omitempty"`
|
||||||
|
|
||||||
Active *types.CustomBool `json:"active,omitempty"`
|
Active *types.CustomBool `json:"active,omitempty"`
|
||||||
Address *string `json:"address,omitempty"`
|
Address *string `json:"address,omitempty"`
|
||||||
Address6 *string `json:"address6,omitempty"`
|
Address6 *string `json:"address6,omitempty"`
|
||||||
Autostart *types.CustomBool `json:"autostart,omitempty"`
|
Autostart *types.CustomBool `json:"autostart,omitempty"`
|
||||||
BridgeFD *int `json:"bridge_fd,omitempty"`
|
|
||||||
BridgePorts *string `json:"bridge_ports,omitempty"`
|
BridgePorts *string `json:"bridge_ports,omitempty"`
|
||||||
BridgeSTP *string `json:"bridge_stp,omitempty"`
|
BridgeSTP *string `json:"bridge_stp,omitempty"`
|
||||||
BridgeVIDs *string `json:"bridge_vids,omitempty"`
|
BridgeVIDs *string `json:"bridge_vids,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user