Commit 55401495 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Rename disk to disk_size

parent 0258da5e
......@@ -156,7 +156,7 @@ def issue_vm_commission(user, flavor, delete=False):
def get_server_resources(flavor):
return {'vm': 1,
'cpu': flavor.cpu,
'disk': 1073741824 * flavor.disk, # flavor.disk is in GB
'disk_size': 1073741824 * flavor.disk, # flavor.disk is in GB
# 'public_ip': 1,
#'disk_template': flavor.disk_template,
'ram': 1048576 * flavor.ram} # flavor.ram is in MB
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment