You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/01/16 00:55:10 UTC

[17/43] git commit: Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py

Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py

Signed-off-by: Marcus Sorensen <ma...@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/api_limit
Commit: 0293d3d665ad41ea2e49a01f9c0fd6cf4547a9bf
Parents: c06218d
Author: Marcus Sorensen <ma...@betterservers.com>
Authored: Mon Jan 14 10:51:39 2013 -0700
Committer: Marcus Sorensen <ma...@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):