summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a2b909a)
Change-Id: I1947d65ab55af825f7aaa90b4fbf2f6e8f5a7a4b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
for k in vnfd:
# Get only the first descriptor in case there are many in the yaml file
# k can be vnfd:vnfd-catalog or vnfd-catalog. This check is skipped
for k in vnfd:
# Get only the first descriptor in case there are many in the yaml file
# k can be vnfd:vnfd-catalog or vnfd-catalog. This check is skipped
- vdu_list = vnfd[k]['vnfd'][0]['vdu']
+ first_vnfd = vnfd[k]['vnfd'][0]
+ vdu_list = first_vnfd.get('vdu',[])
break;
for vdu_number, vdu in enumerate(vdu_list):
if override_epa:
break;
for vdu_number, vdu in enumerate(vdu_list):
if override_epa: