You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dba6923
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: api/evpn/v1alpha1/fabric_types.go
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ const (
182
182
// FabricBUMSpec defines how BUM (Broadcast, Unknown unicast, Multicast) traffic
183
183
// is forwarded across the fabric.
184
184
// +kubebuilder:validation:XValidation:rule="self.type != 'Multicast' || has(self.pim)",message="pim must be set when type is Multicast"
185
-
// +kubebuilder:validation:XValidation:rule="self.type != 'Multicast' || !has(self.pim) || size(self.pim.anycastRendezvousPoints[0].multicastGroups) <= 1 || has(self.defaultMulticastGroup)",message="defaultMulticastGroup is required when the first rendezvous point serves more than one multicastGroups entry"
185
+
// +kubebuilder:validation:XValidation:rule="self.type != 'Multicast' || has(self.defaultMulticastGroup)",message="defaultMulticastGroup is required when type is Multicast"
186
186
typeFabricBUMSpecstruct {
187
187
// type selects the BUM forwarding mechanism.
188
188
// +required
@@ -193,11 +193,8 @@ type FabricBUMSpec struct {
193
193
PIM*FabricPIMSpec`json:"pim,omitempty"`
194
194
195
195
// defaultMulticastGroup is the IPv4 multicast group programmed as the global
196
-
// Layer 2 BUM mcast-group on every VTEP NVE. If unset, it is derived from the
197
-
// first entry of the first pim.anycastRendezvousPoints group; this derivation
198
-
// is a migration fallback for fabrics authored before this field existed and
199
-
// is only allowed when that group serves a single multicastGroups entry,
200
-
// otherwise the field is required. Per-VNI mcast-group overrides are not supported.
196
+
// Layer 2 BUM mcast-group on every VTEP NVE. Required when type is Multicast.
197
+
// Per-VNI mcast-group overrides are not supported.
0 commit comments