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:
Gaurav Aradhye 2015-02-05 16:15:04 +05:30 committed by SrikanteswaraRao Talluri
parent 2580edbcfb
commit 95f17d61f8
1 changed files with 1 additions and 1 deletions

View File

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