v12.0.0
This commit is contained in:
@@ -73,6 +73,9 @@ type RecordNode struct {
|
||||
|
||||
// Version
|
||||
Version string `json:"version"`
|
||||
|
||||
// Zone ID
|
||||
ZoneID uint64 `json:"zoneId"`
|
||||
}
|
||||
|
||||
// Resource consumption of the node
|
||||
@@ -97,6 +100,9 @@ type ConsumptionInfo struct {
|
||||
type FreeResourcesInfo struct {
|
||||
// RAM
|
||||
RAM float64 `json:"RAM"`
|
||||
|
||||
// VCPU
|
||||
VCPU uint64 `json:"vCPU"`
|
||||
}
|
||||
|
||||
// Resources Info
|
||||
@@ -227,6 +233,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 +262,9 @@ type ItemNode struct {
|
||||
|
||||
// Version
|
||||
Version string `json:"version"`
|
||||
|
||||
// Zone ID
|
||||
ZoneID uint64 `json:"zoneId"`
|
||||
}
|
||||
|
||||
// Numa Topology Info
|
||||
@@ -380,3 +392,15 @@ type Role struct {
|
||||
Reason string `json:"reason"`
|
||||
Time uint64 `json:"time"`
|
||||
}
|
||||
|
||||
// Information about SSH Identity
|
||||
type SSHIdentity struct {
|
||||
//Host name of the client
|
||||
HostName string `json:"host_name"`
|
||||
|
||||
//SSH host key of the client
|
||||
HostKey string `json:"host_key"`
|
||||
|
||||
//Array of SSH public keys of the client
|
||||
PublicKeys []string `json:"public_keys"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user