From 02f207f6c9645aebcc8028deb2454f03cd90d31a Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Tue, 2 Jul 2013 17:02:00 +0530 Subject: [PATCH] include account and domainid in affinity group creation Signed-off-by: Prasanna Santhanam --- tools/marvin/marvin/integration/lib/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/marvin/marvin/integration/lib/base.py b/tools/marvin/marvin/integration/lib/base.py index 710d9a97552..bc8c603ac53 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):