diff --git a/ansible/roles/ovn/defaults/main.yml b/ansible/roles/ovn/defaults/main.yml index f9e06b32b8..b65587b0c5 100644 --- a/ansible/roles/ovn/defaults/main.yml +++ b/ansible/roles/ovn/defaults/main.yml @@ -89,3 +89,5 @@ ovn_sb_db_extra_volumes: "{{ ovn_extra_volumes }}" ovn_base_mac: "52:54:00" # Configure OVN remote probe interval time in ms ovn_remote_probe_interval: "60000" +# Configure OVN openflow interval in s +ovn_openflow_probe_interval: "60" diff --git a/ansible/roles/ovn/tasks/bootstrap.yml b/ansible/roles/ovn/tasks/bootstrap.yml index 728ef1a1e6..ddb3cfa8b3 100644 --- a/ansible/roles/ovn/tasks/bootstrap.yml +++ b/ansible/roles/ovn/tasks/bootstrap.yml @@ -30,6 +30,7 @@ - { name: ovn-encap-type, value: geneve } - { 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-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' }}" } diff --git a/releasenotes/notes/ovn-probe-timeouts-6b7747486d59e58e.yaml b/releasenotes/notes/ovn-probe-timeouts-6b7747486d59e58e.yaml new file mode 100644 index 0000000000..bc5a82fca5 --- /dev/null +++ b/releasenotes/notes/ovn-probe-timeouts-6b7747486d59e58e.yaml @@ -0,0 +1,14 @@ +--- +features: + - | + For ovn added ovn-openflow-probe-interval variable, it sets + the inactivity probe interval of the OpenFlow connection + to the OpenvSwitch integration bridge, in seconds. If the + value is zero, it disables the connection keepalive feature. + The default value is 60 seconds. + +upgrade: + - | + For ovn the default value of openflow-probe-interval was + changed to 60 seconds. Use the ovn-openflow-probe-interval + variable to override.