Browse Source

Force cast bridge mappings as an array

In some cases, the parameter will not passed as an array but as a
string, causing conversion error when generating the matching list

Force array parameter conversion to cover all cases

Conflicts:
	manifests/agents/ml2/linuxbridge.pp

Change-Id: I4290bb1dbb96ea0d57e6ad8c6a686c2bf103c907
Closes-Bug: #1866206
(cherry picked from commit 73d64f2cc1)
changes/46/711946/1
Bernard Cafarelli 4 months ago
parent
commit
0f0e824d8d
No known key found for this signature in database GPG Key ID: 9531F08245465A52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      manifests/agents/ml2/ovs.pp

+ 1
- 1
manifests/agents/ml2/ovs.pp View File

@@ -279,7 +279,7 @@ class neutron::agents::ml2::ovs (

# Set config for bridges that we're going to create
# The OVS neutron plugin will talk in terms of the networks in the bridge_mappings
$br_map_str = join($bridge_mappings, ',')
$br_map_str = join(any2array($bridge_mappings), ',')
neutron_agent_ovs {
'ovs/bridge_mappings': value => $br_map_str;
}


Loading…
Cancel
Save