diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-04 12:19:15 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-04 12:19:15 +0100 |
commit | b28bbe423d3daa56be6342002e4e91639df15d17 (patch) | |
tree | a72a9887cdf15bf0ff4848dc0926b81703cd3575 | |
parent | 661fed2fa81d70e145ce5290d243ab523d3d7fc1 (diff) |
Set user domain name when creating users
It updates juju_epc.py and cloudify_vrouter.py.
Change-Id: I8cf97e31d78a4d48ad815faadc8e4130581e1c21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | functest/opnfv_tests/vnf/epc/juju_epc.py | 1 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/router/cloudify_vrouter.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index adf2b6d10..63de72175 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -130,6 +130,7 @@ class JujuEpc(vnf.VnfOnBoarding): self.snaps_creds, UserConfig( name=name, password=str(uuid.uuid4()), + domain=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 18acce6f7..11b9000bc 100644 --- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py +++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py @@ -332,6 +332,7 @@ class CloudifyVrouter(vrouter_base.VrouterOnBoardingBase): UserConfig( name='cloudify_network_bug-{}'.format(self.uuid), password=str(uuid.uuid4()), + domain=self.snaps_creds.user_domain_name, roles={'_member_': self.tenant_name})) user_creator.create() self.created_object.append(user_creator) |