Merge "Support more than one flat network"

This commit is contained in:
Jenkins 2016-09-29 15:28:33 +00:00 committed by Gerrit Code Review
commit b4c0fe9b88

View File

@ -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']: