Add posibilities to set ovn_openflow_probe_interval for controller

Add param OVNOpenflowProbeInterval to set ovn_openflow_probe_interval

Depends-On: https://review.opendev.org/#/c/690027/
Change-Id: I95e4c82f53d3cba49b660a9da0ad6e43b0839fb6
(cherry picked from commit bf3ef6e3b1)
(cherry picked from commit aebd416677)
(cherry picked from commit ca5f18da16)
This commit is contained in:
Kamil Sambor 2019-09-20 08:32:15 +02:00
parent 1d5eae2651
commit 8614ecd17e
2 changed files with 15 additions and 0 deletions

View File

@ -72,6 +72,12 @@ parameters:
description: Probe interval in ms
type: number
default: 60000
OVNOpenflowProbeInterval:
description: >
The inactivity probe interval of the OpenFlow connection to the
OpenvSwitch integration bridge, in seconds.
type: number
default: 60
resources:
# Merging role-specific parameters (RoleParameters) with the default parameters.
@ -113,6 +119,7 @@ outputs:
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
nova::compute::force_config_drive: {if: [force_config_drive, true, false]}
ovn::controller::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval}
ovn::controller::ovn_openflow_probe_interval: {get_param: OVNOpenflowProbeInterval}
tripleo.ovn_controller.firewall_rules:
'118 neutron vxlan networks':
proto: 'udp'

View File

@ -0,0 +1,8 @@
---
features:
- |
Added new heat param OVNOpenflowProbeInterval to set ovn_openflow_probe_interval
which is 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, by default this value is set on 60s.
If the value is nonzero, then it will be forced to a value of at least 5s.