You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ga...@apache.org on 2015/05/07 09:02:48 UTC
git commit: updated refs/heads/master to f33f044
Repository: cloudstack
Updated Branches:
refs/heads/master 5af7c352a -> f33f044d1
CLOUDSTACK-8449: Include zoneid parameter in base library for updateConfiuration method
Signed-off-by: Gaurav Aradhye <ga...@clogeny.com>
This closes #234
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f33f044d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f33f044d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f33f044d
Branch: refs/heads/master
Commit: f33f044d191a123a6232d7b24abf69b938a42893
Parents: 5af7c35
Author: Gaurav Aradhye <ga...@clogeny.com>
Authored: Thu May 7 12:26:06 2015 +0530
Committer: Gaurav Aradhye <ga...@clogeny.com>
Committed: Thu May 7 12:32:14 2015 +0530
----------------------------------------------------------------------
tools/marvin/marvin/lib/base.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f33f044d/tools/marvin/marvin/lib/base.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py
index 356c779..561d7e1 100755
--- a/tools/marvin/marvin/lib/base.py
+++ b/tools/marvin/marvin/lib/base.py
@@ -3659,12 +3659,15 @@ class Configurations:
"""Manage Configuration"""
@classmethod
- def update(cls, apiclient, name, value=None):
+ def update(cls, apiclient, name, value=None, zoneid=None):
"""Updates the specified configuration"""
cmd = updateConfiguration.updateConfigurationCmd()
cmd.name = name
cmd.value = value
+
+ if zoneid:
+ cmd.zoneid = zoneid
apiclient.updateConfiguration(cmd)
@classmethod