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

This commit is contained in:
Mike Tutkowski 2015-10-30 22:13:56 -06:00
parent 901d47c07e
commit c2d4d2972d
1 changed files with 8 additions and 2 deletions

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"]