Enable ovn controller to be updated before ovn-northd.

Setting this parameter on recent enough ovn controller[1] allows the
update of ovn-controller before ovn-northd without breaking the
creation of new flows.

This is the usual pattern of an tripleo update.

[1] >= ovn2.13-20.09.0-17

Conflicts:
	manifests/profile/base/neutron/agents/ovn.pp

Change-Id: Ibbdb9d68c5fe6483357b6cdbe63ccdf8f3e097f5
Depends-On: https://review.opendev.org/c/openstack/puppet-ovn/+/828866
(cherry picked from commit ec21edf4d9)
This commit is contained in:
Sofer Athlan-Guyot 2020-11-24 02:46:21 +01:00 committed by Marios Andreou
parent f485736aca
commit b6606b8fd7

View File

@ -70,6 +70,7 @@ class tripleo::profile::base::neutron::agents::ovn (
$sb_conn = $db_hosts.map |$h| { join([$protocol, normalize_ip_for_uri($h), "${ovn_sbdb_port}"], ':') }
class { 'ovn::controller':
ovn_remote => join(any2array($sb_conn), ','),
enable_ovn_match_northd => true,
ovn_chassis_mac_map => $ovn_chassis_mac_map,
}
}