When configuring an OVS network device via the Web-UI, setting an OVS option with value=0 will be disregarded on save.
Example:
Create an OVS Bond with the following OVS option:
other_config:bond-rebalance-interval=0
This will be purged from the config although it is a valid setting. The same happens for any other config like "other_config:<anything>=0" or if an OVS option with value "0" is already present in "/etc/network/interfaces".
Regarding the example of "bond-rebalance-interval": The valid range is 0 to 2147483647 (time in ms). Default is 10000. A value of 0 disables bond rebalancing.
Source: https://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html
Section "Rebalancing Configuration"
The input validation for OVS options should allow value "0" as well. Otherwise the OVS option "bond-rebalance-interval" cannot be set to disabled.
Package versions: (bookworm pve-enterprise repository)
proxmox-ve: 8.2.0 (running kernel: 6.8.4-3-pve)
openvswitch-switch: 3.1.0-2+deb12u1
Example:
Create an OVS Bond with the following OVS option:
other_config:bond-rebalance-interval=0
This will be purged from the config although it is a valid setting. The same happens for any other config like "other_config:<anything>=0" or if an OVS option with value "0" is already present in "/etc/network/interfaces".
Regarding the example of "bond-rebalance-interval": The valid range is 0 to 2147483647 (time in ms). Default is 10000. A value of 0 disables bond rebalancing.
Source: https://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html
Section "Rebalancing Configuration"
The input validation for OVS options should allow value "0" as well. Otherwise the OVS option "bond-rebalance-interval" cannot be set to disabled.
Package versions: (bookworm pve-enterprise repository)
proxmox-ve: 8.2.0 (running kernel: 6.8.4-3-pve)
openvswitch-switch: 3.1.0-2+deb12u1