From 418595666eae9501d60051cb96a5a302762c94b6 Mon Sep 17 00:00:00 2001 From: Chamarty Date: Fri, 31 Mar 2017 16:11:17 +0000 Subject: [PATCH] Fix SO to RO translation for volumes Signed-off-by: Chamarty --- models/openmano/python/rift/openmano/rift2openmano.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/openmano/python/rift/openmano/rift2openmano.py b/models/openmano/python/rift/openmano/rift2openmano.py index 2ce17c08..80436461 100755 --- a/models/openmano/python/rift/openmano/rift2openmano.py +++ b/models/openmano/python/rift/openmano/rift2openmano.py @@ -542,7 +542,9 @@ def rift2openmano_vnfd(rift_vnfd, rift_nsd): # Add Openmano devices device = {} device["type"] = volume.device_type - device["image"] = volume.image + device["image name"] = volume.image + if volume.has_field("image_checksum"): + device["image checksum"] = volume.image_checksum vnfc["devices"].append(device) vnfc_boot_data_init = False -- 2.17.1