Support more than one flat network
The existing logic only parsed the first flat network, but having multiple flat networks is perfectly legal. Change-Id: I15a17aa8f72d177c5afba3d34ee978e3fe576a67
This commit is contained in:
@@ -192,9 +192,9 @@ class ProviderNetworksParsing(object):
|
||||
elif net['network']['type'] == "flat":
|
||||
if "flat" not in self.network_types:
|
||||
self.network_types.append('flat')
|
||||
self.network_flat_networks.append(
|
||||
net['network']['net_name']
|
||||
)
|
||||
self.network_flat_networks.append(
|
||||
net['network']['net_name']
|
||||
)
|
||||
|
||||
# Create the network mappings
|
||||
if net['network']['type'] not in ['raw', 'vxlan']:
|
||||
|
||||
Reference in New Issue
Block a user