@@ -1757,7 +1757,7 @@ type VlanConfig struct {
17571757 Protocol * VlanProtocol `json:"protocol,omitempty"`
17581758 // RegistrationProtocol Could be `gvrp`, `mvrp` or `none`. Default to none if not defined.
17591759 RegistrationProtocol * VlanRegistrationProtocol `json:"registration-protocol,omitempty"`
1760- // ReorderHeaders reordering of output packet headers
1760+ // ReorderHeaders reordering of output packet headers. Default to True if not defined.
17611761 ReorderHeaders * bool `json:"reorder-headers,omitempty"`
17621762 // LooseBinding loose binding of the interface to its master device's operating state
17631763 LooseBinding * bool `json:"loose-binding,omitempty"`
@@ -2054,6 +2054,7 @@ type LoopbackInterface struct {
20542054// max-mtu: 9702
20552055// ethernet:
20562056// sr-iov:
2057+ // drivers-autoprobe: true
20572058// total-vfs: 2
20582059// vfs:
20592060// - id: 0
@@ -2076,6 +2077,11 @@ type LoopbackInterface struct {
20762077// ```
20772078// +k8s:deepcopy-gen=true
20782079type SrIovConfig struct {
2080+ // DriversAutoprobe Bind created VFs to their default kernel driver.
2081+ // This relates to sriov_drivers_autoprobe.
2082+ // More info here https://docs.kernel.org/PCI/pci-iov-howto.html#sr-iov-api
2083+ // Deserialize and serialize from/to `drivers-autoprobe`.
2084+ DriversAutoprobe * bool `json:"drivers-autoprobe,omitempty"`
20792085 // TotalVfs The number of VFs enabled on PF.
20802086 // Deserialize and serialize from/to `total-vfs`.
20812087 TotalVfs * intstr.IntOrString `json:"total-vfs,omitempty"`
@@ -2259,6 +2265,10 @@ type BaseInterface struct {
22592265 // every two characters. Case insensitive when applying.
22602266 // Serialize and deserialize to/from `mac-address`.
22612267 MacAddress * string `json:"mac-address,omitempty"`
2268+ // PermanentMacAddress MAC address never change after reboots(normally stored in firmware of
2269+ // network interface). Using the same format as `mac_address` property.
2270+ // Ignored during apply.
2271+ PermanentMacAddress * string `json:"permanent-mac-address,omitempty"`
22622272 // Mtu Maximum transmission unit.
22632273 Mtu * intstr.IntOrString `json:"mtu,omitempty"`
22642274 // MinMtu Minimum MTU allowed. Ignored during apply.
@@ -2656,6 +2666,10 @@ const HsrProtocolPrp = HsrProtocol("prp")
26562666// ```
26572667// +k8s:deepcopy-gen=true
26582668type NetworkState struct {
2669+ // Description Description for the whole desire state. Currently it will not be
2670+ // persisted by network backend and will be ignored during applying or
2671+ // querying.
2672+ Description string `json:"description,omitempty"`
26592673 // Hostname Hostname of current host.
26602674 Hostname * HostNameState `json:"hostname,omitempty"`
26612675 // DNS DNS resolver status, deserialize and serialize from/to `dns-resolver`.
0 commit comments