v1.10.1
This commit is contained in:
@@ -11,6 +11,9 @@ type RecordNode struct {
|
||||
// CPU Allocation Ratio
|
||||
CPUAllocationRatio float64 `json:"cpu_allocation_ratio"`
|
||||
|
||||
// DPDK info
|
||||
DPDK DPDK `json:"dpdk"`
|
||||
|
||||
// GID
|
||||
GID uint64 `json:"gid"`
|
||||
|
||||
@@ -32,6 +35,9 @@ type RecordNode struct {
|
||||
// Netaddr
|
||||
NetAddr NetAddr `json:"netaddr"`
|
||||
|
||||
// Network mode
|
||||
NetworkMode string `json:"networkmode"`
|
||||
|
||||
// Nic Info
|
||||
NicInfo ListNicInfo `json:"nicInfo"`
|
||||
|
||||
@@ -53,6 +59,18 @@ type RecordNode struct {
|
||||
// Status
|
||||
Status string `json:"status"`
|
||||
|
||||
// To active
|
||||
ToActive Role `json:"to_active"`
|
||||
|
||||
// To installing
|
||||
ToInstalling Role `json:"to_installing"`
|
||||
|
||||
// To maintenance
|
||||
ToMaintenance Role `json:"to_maintenance"`
|
||||
|
||||
// To restricted
|
||||
ToRestricted Role `json:"to_restricted"`
|
||||
|
||||
// Version
|
||||
Version string `json:"version"`
|
||||
}
|
||||
@@ -125,6 +143,9 @@ type ItemNode struct {
|
||||
// Description
|
||||
Description string `json:"description"`
|
||||
|
||||
// DPDK
|
||||
DPDK DPDK `json:"dpdk"`
|
||||
|
||||
// GID
|
||||
GID uint64 `json:"gid"`
|
||||
|
||||
@@ -227,6 +248,9 @@ type ItemNode struct {
|
||||
// Type
|
||||
Type string `json:"type"`
|
||||
|
||||
//UEFI Firmware File
|
||||
UEFIFirmwareFile string `json:"uefiFirmwareFile"`
|
||||
|
||||
// Version
|
||||
Version string `json:"version"`
|
||||
}
|
||||
@@ -326,3 +350,33 @@ type NetAddr struct {
|
||||
// IP list backplane1 node
|
||||
IP []string `json:"ip"`
|
||||
}
|
||||
|
||||
// DPDK info
|
||||
type DPDK struct {
|
||||
// Bridges
|
||||
Bridges Bridges `json:"bridges"`
|
||||
|
||||
// hp memory
|
||||
HPMemory map[string]uint64 `json:"hp_memory"`
|
||||
|
||||
// pmd cpu
|
||||
PMDCPU []uint64 `json:"pmd_cpu"`
|
||||
}
|
||||
|
||||
// Bridges
|
||||
type Bridges struct {
|
||||
Backplane1 Backplane1 `json:"backplane1"`
|
||||
}
|
||||
|
||||
// Backplane1
|
||||
type Backplane1 struct {
|
||||
Interfaces []string `json:"interfaces"`
|
||||
NumaNode uint64 `json:"numa_node"`
|
||||
}
|
||||
|
||||
// Role
|
||||
type Role struct {
|
||||
Actor string `json:"actor"`
|
||||
Reason string `json:"reason"`
|
||||
Time uint64 `json:"time"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user