Change-Id: Id5c71330c96f01e39c3707333c62fb17b01ddd12
Signed-off-by: bravof <fbravo@whitestack.com>
flavor_data["memory-mb"] = float(vdu_virtual_compute["virtual-memory"]["size"]) * 1024.0
if vdu_virtual_storage.get("size-of-storage"):
flavor_data["storage-gb"] = vdu_virtual_storage["size-of-storage"]
+ if vdu_virtual_storage.get("type-of-storage"):
+ flavor_data["storage-type"] = vdu_virtual_storage["type-of-storage"]
# Get this vdu EPA info for guest_epa
if vdu_virtual_compute.get("virtual-cpu", {}).get("cpu-quota"):
guest_epa["cpu-quota"] = vdu_virtual_compute["virtual-cpu"]["cpu-quota"]