Merge pull request #1016 from mike-tutkowski/hsr_marvin

CLOUDSTACK-9008 - Pass hypervisor snapshot reserve field in when creating compute and disk offerings

https://issues.apache.org/jira/browse/CLOUDSTACK-9008

* pr/1016:
  CLOUDSTACK-9008 - Pass hypervisor snapshot reserve field in when creating compute and disk offerings

Signed-off-by: Remi Bergsma <github@remi.nl>
This commit is contained in:
Remi Bergsma 2015-11-02 13:40:11 +01:00
commit 5ebcc4371a

View File

@ -1945,14 +1945,17 @@ class ServiceOffering:
if "isvolatile" in services:
cmd.isvolatile = services["isvolatile"]
if "customizediops" in services:
cmd.customizediops = services["customizediops"]
if "miniops" in services:
cmd.miniops = services["miniops"]
if "maxiops" in services:
cmd.maxiops = services["maxiops"]
if "customizediops" in services:
cmd.customizediops = services["customizediops"]
if "hypervisorsnapshotreserve" in services:
cmd.hypervisorsnapshotreserve = services["hypervisorsnapshotreserve"]
if "offerha" in services:
cmd.offerha = services["offerha"]
@ -2024,6 +2027,9 @@ class DiskOffering:
if "miniops" in services:
cmd.miniops = services["miniops"]
if "hypervisorsnapshotreserve" in services:
cmd.hypervisorsnapshotreserve = services["hypervisorsnapshotreserve"]
if "provisioningtype" in services:
cmd.provisioningtype = services["provisioningtype"]