Add posibilities to configure replication_probe_interval

Add posibilities to configure replication_probe_interval for ovsdb-server
by OVNDBSReplicationInterval.
It configure probe interval for connection for ovsdb-server when it is
in backup mode and connects to the active ovsdb-server for replication

Depends-On: https://review.opendev.org/#/c/710424/
Change-Id: I94f66ebe5970305a613e8741c00d8fdbc1cc161f
This commit is contained in:
Kamil Sambor
2020-02-28 11:41:07 +01:00
parent bb231974c2
commit bafd0a74f9
2 changed files with 14 additions and 1 deletions

View File

@@ -84,7 +84,12 @@ parameters:
description: timeout for monitor of ovn dbs resource in seconds
type: number
default: 60
OVNDBSReplicationInterval:
description: Probe interval for ovsdb-server. It configure probe
interval for connection for ovsdb-server when it is
in backup mode and connects to the active ovsdb-server for replication
type: number
default: 60000
conditions:
puppet_debug_enabled: {get_param: ConfigDebug}
@@ -140,6 +145,7 @@ outputs:
- tripleo::profile::pacemaker::ovn_dbs_bundle::sb_db_port: {get_param: OVNSouthboundServerPort}
- tripleo::profile::pacemaker::ovn_dbs_bundle::container_backend: {get_param: ContainerCli}
- tripleo::profile::pacemaker::ovn_dbs_bundle::dbs_timeout: {get_param: OVNDBSPacemakerTimeout}
- tripleo::profile::pacemaker::ovn_dbs_bundle::replication_probe_interval: {get_param: OVNDBSReplicationInterval}
- tripleo::haproxy::ovn_dbs_manage_lb:
if:
- use_external_load_balancer

View File

@@ -0,0 +1,7 @@
---
features:
- |
Add posibilities to configure replication_probe_interval for ovsdb-server
by OVNDBSReplicationInterval.
It configure probe interval for connection for ovsdb-server when it is
in backup mode and connects to the active ovsdb-server for replication