incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [10/50] git commit: Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py
Date Wed, 16 Jan 2013 20:59:58 GMT
Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358185899 -0700


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0293d3d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0293d3d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0293d3d6

Branch: refs/heads/resizevolume
Commit: 0293d3d665ad41ea2e49a01f9c0fd6cf4547a9bf
Parents: c06218d
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Mon Jan 14 10:51:39 2013 -0700
Committer: Marcus Sorensen <marcus@betterservers.com>
Committed: Mon Jan 14 10:51:39 2013 -0700

----------------------------------------------------------------------
 tools/marvin/marvin/integration/lib/base.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0293d3d6/tools/marvin/marvin/integration/lib/base.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/integration/lib/base.py b/tools/marvin/marvin/integration/lib/base.py
index 0daea5d..726a628 100644
--- a/tools/marvin/marvin/integration/lib/base.py
+++ b/tools/marvin/marvin/integration/lib/base.py
@@ -1109,6 +1109,9 @@ class DiskOffering:
         if domainid:
             cmd.domainid = domainid
 
+        if services["storagetype"]:
+            cmd.storagetype = services["storagetype"]
+
         return DiskOffering(apiclient.createDiskOffering(cmd).__dict__)
 
     def delete(self, apiclient):


Mime
View raw message