Merge "ovn: add ovn-monitor-all variable"

This commit is contained in:
Zuul 2023-01-12 12:33:43 +00:00 committed by Gerrit Code Review
commit 74f64a19f1
3 changed files with 13 additions and 0 deletions

View File

@ -36,3 +36,5 @@ ovn_base_mac: "52:54:00"
ovn_remote_probe_interval: "60000"
# Configure OVN openflow interval in s
ovn_openflow_probe_interval: "60"
# Configure OVN monitor-all in boolean
ovn_monitor_all: "false"

View File

@ -33,6 +33,7 @@
- { name: ovn-remote, value: "{{ ovn_sb_connection }}" }
- { name: ovn-remote-probe-interval, value: "{{ ovn_remote_probe_interval }}" }
- { name: ovn-openflow-probe-interval, value: "{{ ovn_openflow_probe_interval }}" }
- { name: ovn-monitor-all, value: "{{ ovn_monitor_all | bool }}" }
- { name: ovn-bridge-mappings, value: "{{ ovn_mappings }}", state: "{{ 'present' if (inventory_hostname in groups['ovn-controller-network'] or computes_need_external_bridge | bool) else 'absent' }}" }
- { name: ovn-chassis-mac-mappings, value: "{{ ovn_macs }}", state: "{{ 'present' if inventory_hostname in groups['ovn-controller-compute'] else 'absent' }}" }
- { name: ovn-cms-options, value: "{{ ovn_cms_opts }}", state: "{{ 'present' if ovn_cms_opts != '' else 'absent' }}" }

View File

@ -0,0 +1,10 @@
---
features:
- |
Adds ``ovn-monitor-all`` variable. A boolean value that tells if
ovn-controller should unconditionally monitor all records in OVS
databases.
Setting ``ovn-monitor-all`` variable to 'true' will remove some CPU
load from OVN SouthBound DB but will effect with more updates
comming to ovn-controller. Might be helpfull in large deployments
with many compute hosts.