Support setting ovn-ofctrl-wait-before-clear

Support was added for this option [1] to avoid dataplane downtime
during ovn upgrades where schema changes have happened. This
adds the ability for us to configure it.

[1] https://patchwork.ozlabs.org/project/ovn/patch/20220808182845.2746916-2-mmichels@redhat.com/

Co-Authored-By: David Hill <davidchill@hotmail.com>
Depends-On: https://review.opendev.org/c/openstack/puppet-ovn/+/863170
Change-Id: Ia2337e2f1802257f172ecf9e88995cd12ebc31d7
This commit is contained in:
Terry Wilson 2022-11-01 12:59:42 -05:00
parent 8043956c8c
commit ddaa270bd1
1 changed files with 7 additions and 0 deletions

View File

@ -131,6 +131,12 @@ parameters:
OpenvSwitch integration bridge, in seconds.
type: number
default: 60
OVNOfctrlWaitBeforeClear:
description: >
Sets the time ovn-controller will wait on startup before clearing all
openflow rules and installing the new ones.
type: number
default: 8000
CertificateKeySize:
type: string
default: '2048'
@ -293,6 +299,7 @@ outputs:
ovn::controller::hostname: "%{lookup('fqdn_canonical')}"
ovn::controller::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval}
ovn::controller::ovn_openflow_probe_interval: {get_param: OVNOpenflowProbeInterval}
ovn::controller::ovn_ofctrl_wait_before_clear: {get_param: OVNOfctrlWaitBeforeClear}
nova::compute::force_config_drive:
if:
- not: {get_param: OVNMetadataEnabled}