[ML2 OVN] Add OVNOvsdbProbeInterval parameter

The parameter can be used to configure
`ovsdb_probe_interval` for neutron ml2 plugin
and ovn metadata agent.

Depends-On: https://review.opendev.org/c/openstack/puppet-neutron/+/817198
Depends-On: https://review.opendev.org/c/openstack/puppet-neutron/+/849126
Related-Bug: rhbz#2105312
Change-Id: I5fc94ad27205979b18c4ab8d4bcbe3a01f14d587
This commit is contained in:
yatinkarel 2022-07-08 13:26:13 +05:30
parent 9a09f2f2be
commit 6617f0e525
3 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,10 @@ parameters:
description: Timeout in seconds for the OVSDB connection transaction
type: number
default: 180
OVNOvsdbProbeInterval:
description: Probe interval in ms for the OVSDB session
type: number
default: 60000
OVNNeutronSyncMode:
description: The synchronization mode of OVN with Neutron DB
type: string
@ -139,6 +143,7 @@ outputs:
- ovn::southbound::port: {get_param: OVNSouthboundServerPort}
ovn::northbound::port: {get_param: OVNNorthboundServerPort}
neutron::plugins::ml2::ovn::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
neutron::plugins::ml2::ovn::ovsdb_probe_interval: {get_param: OVNOvsdbProbeInterval}
neutron::plugins::ml2::ovn::neutron_sync_mode: {get_param: OVNNeutronSyncMode}
neutron::plugins::ml2::ovn::ovn_metadata_enabled: {get_param: OVNMetadataEnabled}
neutron::server::igmp_snooping_enable: {get_param: NeutronEnableIgmpSnooping}

View File

@ -89,6 +89,10 @@ parameters:
description: Timeout in seconds for the OVSDB connection transaction
type: number
default: 180
OVNOvsdbProbeInterval:
description: Probe interval in ms for the OVSDB session
type: number
default: 60000
MonitoringSubscriptionOvnMetadata:
default: 'overcloud-ovn-metadata'
type: string
@ -175,6 +179,7 @@ outputs:
neutron::agents::ovn_metadata::shared_secret: {get_param: NeutronMetadataProxySharedSecret}
neutron::agents::ovn_metadata::metadata_host: {get_param: [EndpointMap, NovaMetadataCellInternal, host_nobrackets]}
neutron::agents::ovn_metadata::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
neutron::agents::ovn_metadata::ovsdb_probe_interval: {get_param: OVNOvsdbProbeInterval}
ovn::southbound::port: {get_param: OVNSouthboundServerPort}
neutron::agents::ovn_metadata::debug:
if:

View File

@ -0,0 +1,6 @@
---
features:
- |
Added a new parameter `OVNOvsdbProbeInterval` to configure
`ovsdb_probe_interval` for neutron ml2-ovn plugin and
ovn metadata agent.