We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59af460 commit 9a8d9e7Copy full SHA for 9a8d9e7
openstack/compute/v2/hypervisors/results.go
@@ -138,6 +138,12 @@ type Hypervisor struct {
138
139
// VCPUsUsed is the number of used vcpus on the hypervisor.
140
VCPUsUsed int `json:"vcpus_used"`
141
+
142
+ // CPUAllocationRatio is the ratio of virtual CPUs to physical CPUs.
143
+ CPUAllocationRatio float64 `json:"cpu_allocation_ratio"`
144
145
+ // RAMAllocationRatio is the ratio of virtual RAM to physical RAM.
146
+ RamAllocationRatio float64 `json:"ram_allocation_ratio"`
147
}
148
149
func (r *Hypervisor) UnmarshalJSON(b []byte) error {
0 commit comments