Skip to content
Merged
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
2 changes: 1 addition & 1 deletion api/v1/sriovnetwork_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type SriovNetworkSpec struct {
//IPAM configuration to be used for this network.
IPAM string `json:"ipam,omitempty"`
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=4096
// +kubebuilder:validation:Maximum=4094
// VLAN ID to assign for the VF. Defaults to 0.
Vlan int `json:"vlan,omitempty"`
// +kubebuilder:validation:Minimum=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
type: string
vlan:
description: VLAN ID to assign for the VF. Defaults to 0.
maximum: 4096
maximum: 4094
minimum: 0
type: integer
vlanProto:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
type: string
vlan:
description: VLAN ID to assign for the VF. Defaults to 0.
maximum: 4096
maximum: 4094
minimum: 0
type: integer
vlanProto:
Expand Down
Loading