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
Copy file name to clipboardExpand all lines: api/v1alpha1/proxmoxmachine_types.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -225,21 +225,21 @@ type NetworkDevice struct {
225
225
// +kubebuilder:validation:Maximum=65520
226
226
MTU*uint16`json:"mtu,omitempty"`
227
227
228
-
// DHCP4 indicates if DHCP should be used to assign IPv4 addresses.
229
-
// DHCP4 enforces cluster.spec.ipv4Config to use DHCP.
228
+
// DHCP4 indicates that if DHCP should be used to assign IPv4 addresses.
229
+
// DHCP4 enforce device to use DHCP despite the config set in cluster.spec.ipv4Config.
230
230
// +optional
231
231
DHCP4bool`json:"dhcp4,omitempty"`
232
232
233
-
// DHCP6 indicates if DHCP should be used to assign IPv6 addresses.
234
-
// DHCP6 enforces cluster.spec.ipv6Config to use DHCP.
233
+
// DHCP6 indicates that if DHCP should be used to assign IPv6 addresses.
234
+
// DHCP6 enforce device to use DHCP despite the config set in cluster.spec.ipv6Config.
235
235
// +optional
236
236
DHCP6bool`json:"dhcp6,omitempty"`
237
237
}
238
238
239
239
// AdditionalNetworkDevice the definition of a Proxmox network device.
240
240
// +kubebuilder:validation:XValidation:rule="(self.ipv4PoolRef != null || self.ipv6PoolRef != null || self.dhcp4 || self.dhcp6)",message="at least dhcp and/or one pool reference must be set, either ipv4PoolRef or ipv6PoolRef"
241
241
typeAdditionalNetworkDevicestruct {
242
-
*NetworkDevice`json:",inline"`
242
+
NetworkDevice`json:",inline"`
243
243
244
244
// Name is the network device name.
245
245
// must be unique within the virtual machine and different from the primary device 'net0'.
0 commit comments