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/evpn/v1alpha1/fabric_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type FabricSpec struct {
// controller is implemented. The field currently has no effect.
// TODO: Make this field required once the NetworkAttachment controller is implemented.
// +optional
VniPool corev1alpha1.TypedLocalObjectReference `json:"vniPool"`
VNIPool corev1alpha1.TypedLocalObjectReference `json:"vniPool"`
}

// FabricLoopbacksSpec configures IP address allocation for loopback interfaces.
Expand Down
2 changes: 1 addition & 1 deletion api/evpn/v1alpha1/zz_generated.deepcopy.go

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

6 changes: 3 additions & 3 deletions internal/controller/evpn/fabric_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ var _ = Describe("Fabric Controller", func() {
VTEP: evpnv1alpha1.FabricVTEPSpec{
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
},
VniPool: corev1alpha1.TypedLocalObjectReference{
VNIPool: corev1alpha1.TypedLocalObjectReference{
APIVersion: poolv1alpha1.GroupVersion.String(),
Kind: "IndexPool",
Name: indexPool.Name,
Expand Down Expand Up @@ -733,7 +733,7 @@ var _ = Describe("Fabric Controller", func() {
VTEP: evpnv1alpha1.FabricVTEPSpec{
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
},
VniPool: corev1alpha1.TypedLocalObjectReference{
VNIPool: corev1alpha1.TypedLocalObjectReference{
APIVersion: poolv1alpha1.GroupVersion.String(),
Kind: "IndexPool",
Name: indexPool.Name,
Expand Down Expand Up @@ -941,7 +941,7 @@ var _ = Describe("Fabric Controller", func() {
VTEP: evpnv1alpha1.FabricVTEPSpec{
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
},
VniPool: corev1alpha1.TypedLocalObjectReference{
VNIPool: corev1alpha1.TypedLocalObjectReference{
APIVersion: poolv1alpha1.GroupVersion.String(),
Kind: "IndexPool",
Name: indexPool.Name,
Expand Down
Loading