summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-05-16 10:48:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-05-16 12:31:08 +0200
commit9f4ae400421da329cfed8a2d8b81e6215991216c (patch)
treed9dec3892726d19387bbbf7ae2f98d0cf1295b35
parentb96f6ed4f76ef9569eec211216f7db3ef87a285c (diff)
Fix UserConfig objects
UserConfig is expecting domain_name as arg instead of domain. Else all vnfs cannot work against non Default domains. Change-Id: I4bb53df9d9c03524b19ec32f8d346d94ba78d188 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4bdb6e5de13eb5dc7f175dcc45d0dfedd0582fe4)
-rw-r--r--functest/opnfv_tests/vnf/epc/juju_epc.py2
-rw-r--r--functest/opnfv_tests/vnf/router/cloudify_vrouter.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py
index 50253ccac..249690e4b 100644
--- a/functest/opnfv_tests/vnf/epc/juju_epc.py
+++ b/functest/opnfv_tests/vnf/epc/juju_epc.py
@@ -137,7 +137,7 @@ class JujuEpc(vnf.VnfOnBoarding):
name=name,
password=str(uuid.uuid4()),
project_name=self.tenant_name,
- domain=self.snaps_creds.user_domain_name,
+ domain_name=self.snaps_creds.user_domain_name,
roles={'_member_': self.tenant_name}))
user_creator.create()
self.created_object.append(user_creator)
diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
index 769c2a4cf..af77f5caf 100644
--- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
+++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
@@ -324,7 +324,7 @@ class CloudifyVrouter(vrouter_base.VrouterOnBoardingBase):
name='cloudify_network_bug-{}'.format(self.uuid),
password=str(uuid.uuid4()),
project_name=self.tenant_name,
- domain=self.snaps_creds.user_domain_name,
+ domain_name=self.snaps_creds.user_domain_name,
roles={'_member_': self.tenant_name}))
user_creator.create()
self.created_object.append(user_creator)