From c2d4d2972dc7d87e0adc94cb809e27d5e51f95c1 Mon Sep 17 00:00:00 2001 From: Mike Tutkowski Date: Fri, 30 Oct 2015 22:13:56 -0600 Subject: [PATCH] CLOUDSTACK-9008 - Pass hypervisor snapshot reserve field in when creating compute and disk offerings --- tools/marvin/marvin/lib/base.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index fc49fd2dadd..32e2d5915db 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -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"]