Which component does this relate to?
server discovery
What is the reason for this feature request or change?
Enhance level of detail of network interface cards during discovery
Describe the feature
Add details from server NICs that are discoverable using ethtool
- channel information presented in the Channels struct
- device driver info presented in the DrvInfo struct
- details from sysfs (omit if not available)
- /sys/class/net/$dev/device/numa_node
- /sys/class/net/$dev/device/vendor
- /sys/class/net/$dev/device/subsystem_vendor
- /sys/class/net/$dev/device/device
Proposed API or behavior changes
only added status fields
apiVersion: metal.ironcore.dev/v1alpha1
kind: Server
...
status:
...
networkInterfaces:
- name: eno1
...
channels:
maxRx: 0
maxTx: 0
maxOther: 0
maxCombined: 8
rxCount: 0
txCount: 0
otherCount: 0
driverInfo:
driver: name
version: version
fwVersion: firmware_version
busInfo: 000:01:00:0
eromVersion: expansion-rom-version
reserved2: could be omitted
NPrivFlags: 0
NStats: 1
TestInfoLen: 0
EedumpLen: 1
RegdumpLen: 0
numaNode: 0
vendor: 0x123
vendorSubsystem: 0x123
- name: eno2
...
Alternatives considered
n/a
Additional context
n/a
Which component does this relate to?
server discovery
What is the reason for this feature request or change?
Enhance level of detail of network interface cards during discovery
Describe the feature
Add details from server NICs that are discoverable using ethtool
Proposed API or behavior changes
only added status fields
Alternatives considered
n/a
Additional context
n/a