diff --git a/CHANGELOG.md b/CHANGELOG.md index f19dce72..cb0668ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ Some examples, more below in the actual changelog (newer entries are more likely --> +* vsphere/info/network: add missing `bandwidth_limit` field in `info.Network` (#417, @89q12) + ## [0.7.5] -- 2024-10-22 ### Added diff --git a/pkg/vsphere/info/info.go b/pkg/vsphere/info/info.go index 1c832203..0947e4bc 100644 --- a/pkg/vsphere/info/info.go +++ b/pkg/vsphere/info/info.go @@ -52,12 +52,13 @@ type DiskInfo struct { // Network contains meta information of attached NICs to a VM. type Network struct { - NIC int `json:"nic"` - ID int `json:"id"` - VLAN string `json:"vlan"` - MACAddress string `json:"mac_address"` - IPv4 []string `json:"ips_v4"` - IPv6 []string `json:"ips_v6"` + NIC int `json:"nic"` + BandwidthLimit int `json:"bandwidth_limit"` + VLAN string `json:"vlan"` + ID int `json:"id"` + IPv4 []string `json:"ips_v4"` + IPv6 []string `json:"ips_v6"` + MACAddress string `json:"mac_address"` } // Get returns additional information to a given VM identifier.