diff options
author | boucherv <valentin.boucher@orange.com> | 2016-01-13 15:09:37 +0100 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2016-01-13 15:32:21 +0100 |
commit | 5f49a3982fdd8c8addac8b3b5d3b23327de3d077 (patch) | |
tree | 3983f8230d2949b1290e0f17b452432a93bea554 /testcases/vIMS/CI/orchestrator.py | |
parent | 870587bd57ed00fb1b172ee9848f7cdfb3d04270 (diff) |
Fix dns problem on E/// pod
FUNCTEST-122
Change-Id: I077ca9f1e8394583410f4b067d272e5be225ef3d
Signed-off-by: boucherv <valentin.boucher@orange.com>
Diffstat (limited to 'testcases/vIMS/CI/orchestrator.py')
-rw-r--r-- | testcases/vIMS/CI/orchestrator.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/orchestrator.py b/testcases/vIMS/CI/orchestrator.py index ab0b448f..382fbd13 100644 --- a/testcases/vIMS/CI/orchestrator.py +++ b/testcases/vIMS/CI/orchestrator.py @@ -47,6 +47,12 @@ class orchestrator: def set_ssh_user(self, ssh_user): self.config['ssh_user'] = ssh_user + def set_nameservers(self, nameservers): + if 0 < len(nameservers): + self.config['dns_subnet_1'] = nameservers[0] + if 1 < len(nameservers): + self.config['dns_subnet_2'] = nameservers[1] + def set_logger(self, logger): self.logger = logger @@ -91,7 +97,7 @@ class orchestrator: if self.logger: self.logger.info("Launching the cloudify-manager deployment") - script = "set -e; " + script = "set -e; " script += "source " + self.testcase_dir + "venv_cloudify/bin/activate; " script += "cd " + self.testcase_dir + "; " script += "cfy init -r; " |