diff --git a/pkg/compute/models/hosts.go b/pkg/compute/models/hosts.go index 8ae5e880a5..de487068d1 100644 --- a/pkg/compute/models/hosts.go +++ b/pkg/compute/models/hosts.go @@ -1775,6 +1775,7 @@ func (self *SHost) getMoreDetails(ctx context.Context, extra *jsonutils.JSONDict memCommitRate = float64(usage.GuestVmemSize) * 1.0 / float64(totalMem) } extra.Add(jsonutils.NewFloat(memCommitRate), "mem_commit_rate") + extra.Add(self.GetHardwareSpecification(), "spec") extra = self.SManagedResourceBase.getExtraDetails(ctx, extra) return extra }