cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gau...@apache.org
Subject git commit: updated refs/heads/master to f33f044
Date Thu, 07 May 2015 07:02:48 GMT
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 <gaurav.aradhye@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 <gaurav.aradhye@clogeny.com>
Authored: Thu May 7 12:26:06 2015 +0530
Committer: Gaurav Aradhye <gaurav.aradhye@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


Mime
View raw message