Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 134 additions & 0 deletions api/v1alpha1/applyconfiguration/api/v1alpha1/networkinterface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions api/v1alpha1/applyconfiguration/internal/internal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions api/v1alpha1/server_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,58 @@ type NetworkInterface struct {
// +optional
CarrierStatus string `json:"carrierStatus,omitempty"`

// PCIAddress is the PCI bus address of the underlying NIC (e.g. "0000:01:00.0").
// +optional
PCIAddress string `json:"pciAddress,omitempty"`

// Speed is the link speed reported by the NIC driver.
// +optional
Speed string `json:"speed,omitempty"`

// LinkModes is the list of link modes supported by the NIC.
// +optional
LinkModes []string `json:"linkModes,omitempty"`

// SupportedPorts is the list of port types supported by the NIC (e.g. TP, FIBRE).
// +optional
SupportedPorts []string `json:"supportedPorts,omitempty"`

// FirmwareVersion is the firmware version reported by the NIC driver.
// +optional
FirmwareVersion string `json:"firmwareVersion,omitempty"`

// NUMANode is the NUMA node ID as reported by the NIC driver.
// +optional
NUMANode int32 `json:"numaNode,omitempty"`

// Vendor is the PCI vendor ID (e.g. "0x8086") as reported by the NIC driver.
// +optional
Vendor string `json:"vendor,omitempty"`

// SubsystemVendor is the PCI subsystem vendor ID as reported by the NIC driver.
// +optional
SubsystemVendor string `json:"subsystemVendor,omitempty"`

// Device is the PCI device ID (e.g. "0x1533") as reported by the NIC driver.
// +optional
Device string `json:"device,omitempty"`

// MaxRx is the maximum number of RX channels supported by the NIC.
// +optional
MaxRx int32 `json:"maxRx,omitempty"`

// MaxTx is the maximum number of TX channels supported by the NIC.
// +optional
MaxTx int32 `json:"maxTx,omitempty"`

// MaxOther is the maximum number of other channels supported by the NIC.
// +optional
MaxOther int32 `json:"maxOther,omitempty"`

// MaxCombined is the maximum number of combined channels supported by the NIC.
// +optional
MaxCombined int32 `json:"maxCombined,omitempty"`

// Neighbors contains the LLDP neighbors discovered on this interface.
// +optional
Neighbors []LLDPNeighbor `json:"neighbors,omitempty"`
Expand Down
10 changes: 10 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions config/crd/bases/metal.ironcore.dev_servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,14 @@ spec:
description: CarrierStatus is the operational carrier status
of the network interface.
type: string
device:
description: Device is the PCI device ID (e.g. "0x1533") as
reported by the NIC driver.
type: string
firmwareVersion:
description: FirmwareVersion is the firmware version reported
by the NIC driver.
type: string
ip:
description: |-
IP is the IP address assigned to the network interface.
Expand All @@ -389,9 +397,35 @@ spec:
format: ip
type: string
type: array
linkModes:
description: LinkModes is the list of link modes supported by
the NIC.
items:
type: string
type: array
macAddress:
description: MACAddress is the MAC address of the network interface.
type: string
maxCombined:
description: MaxCombined is the maximum number of combined channels
supported by the NIC.
format: int32
type: integer
maxOther:
description: MaxOther is the maximum number of other channels
supported by the NIC.
format: int32
type: integer
maxRx:
description: MaxRx is the maximum number of RX channels supported
by the NIC.
format: int32
type: integer
maxTx:
description: MaxTx is the maximum number of TX channels supported
by the NIC.
format: int32
type: integer
name:
description: Name is the name of the network interface.
type: string
Expand Down Expand Up @@ -423,6 +457,32 @@ spec:
type: string
type: object
type: array
numaNode:
description: NUMANode is the NUMA node ID as reported by the
NIC driver.
format: int32
type: integer
pciAddress:
description: PCIAddress is the PCI bus address of the underlying
NIC (e.g. "0000:01:00.0").
type: string
speed:
description: Speed is the link speed reported by the NIC driver.
type: string
subsystemVendor:
description: SubsystemVendor is the PCI subsystem vendor ID
as reported by the NIC driver.
type: string
supportedPorts:
description: SupportedPorts is the list of port types supported
by the NIC (e.g. TP, FIBRE).
items:
type: string
type: array
vendor:
description: Vendor is the PCI vendor ID (e.g. "0x8086") as
reported by the NIC driver.
type: string
required:
- macAddress
- name
Expand Down
Loading
Loading