Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py
Signed-off-by: Marcus Sorensen <[email protected]> 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/cloud-agent-with-openvswitch Commit: 0293d3d665ad41ea2e49a01f9c0fd6cf4547a9bf Parents: c06218d Author: Marcus Sorensen <[email protected]> Authored: Mon Jan 14 10:51:39 2013 -0700 Committer: Marcus Sorensen <[email protected]> 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):
