ovs: Accept hash for bridge_mapping
The bridge_mapping option takes a dictionary value. This allows usage of a native hash so that users can compose the config value more easily. Change-Id: Ib52ee7ae5b5d35457f5a4c13a9774fb89df3888b
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user