Skip to content

Commit

Permalink
files are now including maximum for layer2
Browse files Browse the repository at this point in the history
  • Loading branch information
Haven456 committed Mar 19, 2024
1 parent a5736d8 commit 3ad9d06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/layer2networkconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type Layer2NetworkConfigurationSpec struct {

// +kubebuilder:validation:Required
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=16777215
// VXLAN VNI Id for the layer 2 network
VNI int `json:"vni"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ spec:
x-kubernetes-map-type: atomic
vni:
description: VXLAN VNI Id for the layer 2 network
maximum: 16777215
minimum: 1
type: integer
vrf:
Expand Down

0 comments on commit 3ad9d06

Please sign in to comment.