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
@@ -224,21 +224,21 @@ type NetworkDevice struct {
224
224
// +kubebuilder:validation:Maximum=65520
225
225
MTU*uint16`json:"mtu,omitempty"`
226
226
227
-
// DHCP4 indicates if DHCP should be used to assign IPv4 addresses.
228
-
// DHCP4 enforces cluster.spec.ipv4Config to use DHCP.
227
+
// DHCP4 indicates that if DHCP should be used to assign IPv4 addresses.
228
+
// DHCP4 enforce device to use DHCP despite the config set in cluster.spec.ipv4Config.
229
229
// +optional
230
230
DHCP4bool`json:"dhcp4,omitempty"`
231
231
232
-
// DHCP6 indicates if DHCP should be used to assign IPv6 addresses.
233
-
// DHCP6 enforces cluster.spec.ipv6Config to use DHCP.
232
+
// DHCP6 indicates that if DHCP should be used to assign IPv6 addresses.
233
+
// DHCP6 enforce device to use DHCP despite the config set in cluster.spec.ipv6Config.
234
234
// +optional
235
235
DHCP6bool`json:"dhcp6,omitempty"`
236
236
}
237
237
238
238
// AdditionalNetworkDevice the definition of a Proxmox network device.
239
239
// +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"
240
240
typeAdditionalNetworkDevicestruct {
241
-
*NetworkDevice`json:",inline"`
241
+
NetworkDevice`json:",inline"`
242
242
243
243
// Name is the network device name.
244
244
// must be unique within the virtual machine and different from the primary device 'net0'.
0 commit comments