projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix SO to RO translation for volumes
[osm/SO.git]
/
models
/
openmano
/
python
/
rift
/
openmano
/
rift2openmano.py
diff --git
a/models/openmano/python/rift/openmano/rift2openmano.py
b/models/openmano/python/rift/openmano/rift2openmano.py
index
2ce17c0
..
8043646
100755
(executable)
--- 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
# 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
vnfc["devices"].append(device)
vnfc_boot_data_init = False