Change-Id: Id89dd94af4856c5d6d10c59ecfdef764e3308d2b
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
SELECT=('vms.uuid as uuid', 'vms.osm_id as osm_id', 'vms.name as name', 'vms.description as description',
'boot_data'),
WHERE={'vnfs.uuid': vnf_id} )
- if len(content)!=0:
+ if len(content) != 0:
#raise NfvoException("vnf '{}' not found".format(vnf_id), HTTP_Not_Found)
# change boot_data into boot-data
for vm in content:
vm["boot-data"] = yaml.safe_load(vm["boot_data"])
del vm["boot_data"]
- data['vnf']['VNFC'] = content
+ data['vnf']['VNFC'] = content
#TODO: GET all the information from a VNFC and include it in the output.
#GET NET