You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/07/04 00:25:43 UTC
[04/50] [abbrv] git commit: updated refs/heads/vmsync to 78fa5e1
include account and domainid in affinity group creation
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/02f207f6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/02f207f6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/02f207f6
Branch: refs/heads/vmsync
Commit: 02f207f6c9645aebcc8028deb2454f03cd90d31a
Parents: 46bd2f8
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue Jul 2 17:02:00 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Tue Jul 2 17:02:00 2013 +0530
----------------------------------------------------------------------
tools/marvin/marvin/integration/lib/base.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/02f207f6/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 710d9a9..bc8c603 100755
--- a/tools/marvin/marvin/integration/lib/base.py
+++ b/tools/marvin/marvin/integration/lib/base.py
@@ -2970,10 +2970,10 @@ class AffinityGroup:
cmd.name = aff_grp['name']
cmd.displayText = aff_grp['name']
cmd.type = aff_grp['type']
- #if account is not None:
- # cmd.account = account
- #if domainid is not None:
- # cmd.domainid = domainid
+ if account:
+ cmd.account = account
+ if domainid:
+ cmd.domainid = domainid
return AffinityGroup(apiclient.createAffinityGroup(cmd).__dict__)
def update(self, apiclient):