Merge "ovs: Accept hash for bridge_mapping"

This commit is contained in:
Zuul 2023-10-17 16:03:03 +00:00 committed by Gerrit Code Review
commit 5078eb55e1

View File

@ -371,6 +371,7 @@ class neutron::agents::ml2::ovs (
# mappings and uplinks; they're what the OVS switches will get named.)
$bridge_mappings_real = $bridge_mappings ? {
Hash => join_keys_to_values($bridge_mappings, ':'),
String => $bridge_mappings.split(',').strip(),
default => $bridge_mappings,
}