Commit 79bb93f1 authored by Felipe Fonseca's avatar Felipe Fonseca
Browse files

Merge branch '1.3.6'

parents db8e219e 4be11f1f
......@@ -534,10 +534,11 @@ class OEDL:
vlans = []
for component in active_lease['components']:
if component['resource_type'] == 'vlan':
vlans.append({'name' : component['name'] })
break
if active_lease is not None:
for component in active_lease['components']:
if component['resource_type'] == 'vlan':
vlans.append({'name' : component['name'] })
break
for vm in slice_resource['vms']:
# vm_group
......@@ -587,10 +588,11 @@ class OEDL:
vlans = []
for component in active_lease['components']:
if component['resource_type'] == 'vlan':
vlans.append({'name' : component['name'] })
break
if active_lease is not None:
for component in active_lease['components']:
if component['resource_type'] == 'vlan':
vlans.append({'name' : component['name'] })
break
for vm in slice_resource['vms']:
# vm_group
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment