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
|You must set the `role` field for your Localnet topology to `Secondary`-the accepted value.
160
+
|===
161
+
162
+
.Invalid `subnets` and `ipam` scenarios types for the `ClusterUserDefinedNetwork` CR
163
+
[cols="2a,2a,3a,3a",options="header"]
164
+
|===
165
+
166
+
|Condition type
167
+
3+|Reason, Message, Resolution
168
+
169
+
.11+|`LocalnetInvalidSubnets`
170
+
3+|One of the following messages is returned when either the `spec.network.localnet.subnets` or `spec.network.localnet.ipam` is set incorrect:
171
+
h|Reason
172
+
h|Message
173
+
h|Resolution
174
+
175
+
|The optional fields, `subnets` and `ipam.mode`, have to be set together.
176
+
|`Subnets is required with ipam.mode is Enabled or unset, and forbidden otherwise`
177
+
|You must set the `subnets` field unless the `spec.network.localnet.ipam.mode` is explicitly disabled.
178
+
179
+
|The `spec.network.localnet.subnets` must have an acceptable value when using this optional field.
180
+
|`The ClusterUserDefinedNetwork "localnet-empty-subnets-fail" is invalid: spec.network.localnet.subnets: Invalid value: 0: spec.network.localnet.subnets in body should have at least 1 items`
181
+
|You must set an acceptable value for `spec.network.localnet.subnets`. Acceptable values are IPv4 and IPv6 Classless Inter-Domain Routing (CIDR) ranges that do not overlap with any CIDR ranges used by {product-title}.
182
+
183
+
|The `subnet` field must be set when using the optional `spec.network.localnet.excludeSubnets` field.
184
+
|`excludeSubnets must be unset when subnets is unset`
185
+
|You must set the `spec.network.localnet.subnets` field when using the `spec.network.localnet.excludeSubnet` field.
186
+
187
+
|The `excludeSubnets` must be a value within the `subnets` field.
188
+
|`excludeSubnets must be subnetworks of the networks specified in the subnets field`
189
+
|You must set the value for the `excludeSubnets` field to be within the `subnets` field. For example, a `subnets` value of `192.168.100.0/24` and an `excludeSubnets` value of `192.168.200.1/32` is invalid.
190
+
191
+
|The CIDR range is invalid.
192
+
|`The ClusterUserDefinedNetwork "localnet-subnets-invalid-ipv4-cidr-fail" is invalid: spec.network.localnet.subnets[0]: Invalid value: "string": CIDR is invalid`
193
+
|You must set an acceptable CIDR range for `spec.network.localnet.subnets` field. Acceptable values are IPv4 and IPv6 CIDR ranges which are not in use or reserved by {product-title}.
194
+
195
+
|You must set the `subnets` field when the `ipam.mode` is `Enabled` or when the IPAM mode is unset because the default value is `Enabled`.
196
+
|`Subnets is required with ipam.mode is Enabled or unset, and forbidden otherwise`.
197
+
|You must set the `spec.network.localnet.subnets` field unless the `spec.network.localnet.ipam.mode` is explicitly disabled.
198
+
199
+
|Setting two CIDR ranges for `spec.network.localnet.subnets` field requires that one be IPv4 and the other be IPv6.
200
+
|`Invalid value...When 2 CIDRs are set, they must be from different IP families`.
201
+
|You must change one of your CIDR ranges to a different IP family.
202
+
203
+
|The `spec.network.localnet.ipam.mode` is `Disabled` but the ``spec.network.localnet.lifecycle` has a value of `Persistent`.
204
+
|`lifecycle Persistent is only supported when ipam.mode is Enabled`
205
+
|You must set the `ipam.mode` to `Enabled` when the optional field `lifecycle` has a value of `Persistent`.
206
+
|===
207
+
208
+
.Invalid `vlan` scenarios types for the `ClusterUserDefinedNetwork` CR
209
+
[cols="4a,2a,3a,3a",options="header"]
210
+
|===
211
+
212
+
|Condition type
213
+
3+|Reason, Message, Resolution
214
+
215
+
.8+|`invalid vlan` or `invalid mode`
216
+
3+|One of the following messages is returned when the `spec.network.localnet.vlan` is set incorrect:
217
+
h|Reason
218
+
h|Message
219
+
h|Resolution
220
+
221
+
|The `spec.network.localnet.vlan.mode` field must be set.
0 commit comments