aboutsummaryrefslogtreecommitdiffstats
path: root/func/driver.py
diff options
context:
space:
mode:
authorMofassirArif <mofassir.arif@xflowresearch.com>2016-02-09 04:45:33 -0800
committerNauman Ahad <nauman.ahad@xflowresearch.com>2016-02-22 07:29:10 +0000
commit3ee7b5b436f0c698577c07ceab2f7421f7d328e4 (patch)
treea1cea6c85895fd3b6e3e1a171fd43a80637c1621 /func/driver.py
parent5a0ad01399b28ab2dfbb60b64734914e0dd3d2d5 (diff)
qtip: apex integration, add heat-admin as user for apex nodes
Change-Id: If49136ba8edcaf1d721c4592b61a1b7cd5c79e87 Signed-off-by: MofassirArif <mofassir.arif@xflowresearch.com> (cherry picked from commit 75a710eeebf02c3f2032e33909fdf1b5dc117cbb)
Diffstat (limited to 'func/driver.py')
-rw-r--r--func/driver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/driver.py b/func/driver.py
index 3c3b75c0..240e5b27 100644
--- a/func/driver.py
+++ b/func/driver.py
@@ -37,7 +37,8 @@ class Driver:
if os.environ['INSTALLER_TYPE'] == str('joid'):
self.dic_json['username']=str('ubuntu')
-
+ if os.environ['INSTALLER_TYPE'] == str('apex'):
+ self.dic_json['username']=str('heat-admin')
for k,v in benchmark_detail:
self.dic_json[k]=v
for k, v in roles: