Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41C4110740 for ; Thu, 7 May 2015 07:02:48 +0000 (UTC) Received: (qmail 81540 invoked by uid 500); 7 May 2015 07:02:48 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 81504 invoked by uid 500); 7 May 2015 07:02:48 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 81494 invoked by uid 99); 7 May 2015 07:02:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2015 07:02:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0140CDFFF0; Thu, 7 May 2015 07:02:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gaurav@apache.org To: commits@cloudstack.apache.org Message-Id: <71b99da2fead41d5953fe846471a9cd8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to f33f044 Date: Thu, 7 May 2015 07:02:48 +0000 (UTC) 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 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 Authored: Thu May 7 12:26:06 2015 +0530 Committer: Gaurav Aradhye 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