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: ...@@ -534,10 +534,11 @@ class OEDL:
vlans = [] vlans = []
for component in active_lease['components']: if active_lease is not None:
if component['resource_type'] == 'vlan': for component in active_lease['components']:
vlans.append({'name' : component['name'] }) if component['resource_type'] == 'vlan':
break vlans.append({'name' : component['name'] })
break
for vm in slice_resource['vms']: for vm in slice_resource['vms']:
# vm_group # vm_group
...@@ -587,10 +588,11 @@ class OEDL: ...@@ -587,10 +588,11 @@ class OEDL:
vlans = [] vlans = []
for component in active_lease['components']: if active_lease is not None:
if component['resource_type'] == 'vlan': for component in active_lease['components']:
vlans.append({'name' : component['name'] }) if component['resource_type'] == 'vlan':
break vlans.append({'name' : component['name'] })
break
for vm in slice_resource['vms']: for vm in slice_resource['vms']:
# vm_group # 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