v16.10.0
This commit is contained in:
aafetisov committed 2026-10-30 16:04:15 +03:00
1 parent bc8c2b40e9
commit 00994516ba
52 files changed
+2287 -98

No files matched your search

+39
View File
@@ -100,6 +100,45 @@ type RecordNode struct {
// AutoStart Count
AutoStartCount uint64 `json:"autostart_count"`
// Physical net state
PhysicalNetState []PhysicalNetState `json:"physical_net_state"`
}
// Info about physical NIC state
type PhysicalNetState struct {
// Interface OS name
OSName string `json:"osName"`
// PCI device vendor
VendorName string `json:"vendor_name"`
// PCI device product
ProductName string `json:"product_name"`
// Bound kernel driver
Driver string `json:"driver"`
// PCI slot address
PCISlot string `json:"pciSlot"`
// Interface MAC address
MAC string `json:"mac"`
// Interface MTU
MTU uint64 `json:"mtu"`
// Link speed in Mbps, -1 when unknown
LinkSpeed int64 `json:"linkSpeed"`
// Link state, up or down
LinkState string `json:"linkState"`
// Assigned IP addresses
IP []string `json:"ip"`
// Prefix lengths of the assigned IP addresses
CIDR []string `json:"cidr"`
}
// Resource consumption of the node