Add ovn-monitor-all option to ovn-controller

With monitor-all option, all ovn-controllers
do not enable conditional monitoring there
by reducing the load on the Southbound ovsdb-server.

Change-Id: I6f5c8568274dd6eb9853bbb5382dd2b2c575d87a
Signed-off-by: Dong Ma <dong.ma@vexxhost.com>
This commit is contained in:
Dong Ma
2025-12-05 08:57:26 +00:00
parent c31cd6c962
commit ecdad28d5d
3 changed files with 7 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ ovs-vsctl set open . external-ids:rundir="/var/run/openvswitch"
ovs-vsctl set open . external-ids:ovn-encap-type="{{ .Values.conf.ovn_encap_type }}"
ovs-vsctl set open . external-ids:ovn-bridge="{{ .Values.conf.ovn_bridge }}"
ovs-vsctl set open . external-ids:ovn-bridge-mappings="{{ .Values.conf.ovn_bridge_mappings }}"
ovs-vsctl set open . external-ids:ovn-monitor-all="{{ .Values.conf.ovn_monitor_all }}"
GW_ENABLED=$(cat /tmp/gw-enabled/gw-enabled)
if [[ ${GW_ENABLED} == {{ .Values.labels.ovn_controller_gw.node_selector_value }} ]]; then

View File

@@ -79,6 +79,7 @@ conf:
ovn_encap_type: geneve
ovn_bridge: br-int
ovn_bridge_mappings: external:br-ex
ovn_monitor_all: false
# For DPDK enabled environments, enable netdev datapath type for br-int
# ovn_bridge_datapath_type: netdev

View File

@@ -0,0 +1,5 @@
---
ovn:
- |
Add support for ovn_monitor_all.
...