mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8219: Marvin: Correct code related to getting free vlan in the setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
2580edbcfb
commit
95f17d61f8
|
|
@ -972,7 +972,7 @@ def get_free_vlan(apiclient, zoneid):
|
|||
|
||||
physical_network = list_physical_networks_response[0]
|
||||
|
||||
networks = list_networks(apiclient, zoneid=zoneid, type='Shared')
|
||||
networks = list_networks(apiclient, zoneid=zoneid)
|
||||
usedVlanIds = []
|
||||
|
||||
if isinstance(networks, list) and len(networks) > 0:
|
||||
|
|
|
|||
Loading…
Reference in New Issue