This commit is contained in:
dayterr committed 2025-12-16 14:40:04 +03:00
1 parent 3eaf0df772
commit aac7108d8a
18 files changed
+117 -57

No files matched your search

+7 -1
View File
@@ -82,6 +82,9 @@ type RecordNode struct {
// SDN Hypervisor Name
SDNHypervisorName string `json:"sdn_hypervisor_name"`
// CPU used by the node
UsableCPUs []string `json:"usable_cpus"`
}
// Resource consumption of the node
@@ -291,10 +294,13 @@ type ItemNode struct {
CPUAllocationRatio float64 `json:"cpu_allocation_ratio"`
// MemAllocationRatio
MemAllocationRatio float64 `json:"mem_allocation_ratio"`
// Packages
Packages map[string]PackageInfo `json:"packages"`
// CPU used by the node
UsableCPUs []string `json:"usable_cpus"`
}
type PackageInfo struct {