Skip to content

Commit

Permalink
feat: plumb accelnet bool through interfaceinfo (#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlong authored May 20, 2024
1 parent 1d8f89e commit 90df8a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ type InterfaceInfo struct {
GatewayIP string `json:"gatewayIP,omitempty"`
// DeviceType is the device type that this NC was created for
DeviceType DeviceType `json:"deviceType,omitempty"`
// AccelnetEnabled determines if the CNI will provision the NIC with accelerated networking enabled
// +kubebuilder:validation:Optional
AccelnetEnabled bool `json:"accelnetEnabled,omitempty"`
}

// MultitenantPodNetworkConfigStatus defines the observed state of PodNetworkConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ spec:
goal state for this Pod
items:
properties:
accelnetEnabled:
description: AccelnetEnabled determines if the CNI will provision
the NIC with accelerated networking enabled
type: boolean
deviceType:
description: DeviceType is the device type that this NC was
created for
Expand Down

0 comments on commit 90df8a1

Please sign in to comment.