From f33f044d191a123a6232d7b24abf69b938a42893 Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Thu, 7 May 2015 12:26:06 +0530 Subject: [PATCH] CLOUDSTACK-8449: Include zoneid parameter in base library for updateConfiuration method Signed-off-by: Gaurav Aradhye This closes #234 --- tools/marvin/marvin/lib/base.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index 356c779db46..561d7e1a6de 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