This commit is contained in:
asteam
2025-07-15 17:39:18 +03:00
parent 1f8637400f
commit 7dacf35cd6
163 changed files with 4322 additions and 504 deletions

View File

@@ -14,7 +14,7 @@ type ApplyIpmiActionRequest struct {
NID uint64 `url:"nid" json:"nid" validate:"required"`
// Action
// on of actions power_on shutdown force_shutdown reboot
// Available values : is_powered, power_on, shutdown, force_shutdown, reboot.
// Required: true
Action string `url:"action" json:"action" validate:"required,action"`
}

View File

@@ -73,6 +73,9 @@ type RecordNode struct {
// Version
Version string `json:"version"`
// Zone ID
ZoneID uint64 `json:"zoneId"`
}
// Resource consumption of the node
@@ -227,6 +230,9 @@ type ItemNode struct {
// Roles
Roles []string `json:"roles"`
// SDN Hypervisor Name
SDNHypervisorName string `json:"sdn_hypervisor_name"`
// Seps
Seps []uint64 `json:"seps"`
@@ -253,6 +259,9 @@ type ItemNode struct {
// Version
Version string `json:"version"`
// Zone ID
ZoneID uint64 `json:"zoneId"`
}
// Numa Topology Info