summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos/run_rubbos.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-28 04:47:33 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-04-28 04:59:39 -0400
commit79a74e1bc27d14df151c7f7bfaea8f4a4450ba23 (patch)
tree8d5f7addc2b7a32bd9a7797a21a35cb80af63900 /testsuites/rubbos/run_rubbos.py
parent2b868477e04ec3b7a1bf3e3a678a12fef3325263 (diff)
add httpd info in rubbos.conf file
JIRA: BOTTLENECK-72 Change-Id: Ic1889c5b82bb74cbf919ec98cd16fa4a04c758ef Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'testsuites/rubbos/run_rubbos.py')
-rwxr-xr-xtestsuites/rubbos/run_rubbos.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/rubbos/run_rubbos.py b/testsuites/rubbos/run_rubbos.py
index 904cd8a2..6e3bbadd 100755
--- a/testsuites/rubbos/run_rubbos.py
+++ b/testsuites/rubbos/run_rubbos.py
@@ -203,6 +203,7 @@ def rubbos_run():
control_servers = []
client_servers = []
web_servers = []
+ app_servers = []
cjdbc_controller = []
database_servers = []
for instance in instances:
@@ -214,8 +215,10 @@ def rubbos_run():
control_servers.append(''.join(str(name)+':'+public_ip[0]+':'+private_ip[0]))
if name.find("client") > 0:
client_servers.append(''.join(str(name)+':'+private_ip[0]))
- if name.find("tomcat") > 0:
+ if name.find("httpd") > 0:
web_servers.append(''.join(str(name)+':'+private_ip[0]))
+ if name.find("tomcat") > 0:
+ app_servers.append(''.join(str(name)+':'+private_ip[0]))
if name.find("cjdbc") > 0:
cjdbc_controller.append(''.join(str(name)+':'+private_ip[0]))
if name.find("mysql") > 0:
@@ -236,6 +239,10 @@ def rubbos_run():
for i in web_servers:
f.write(i+',')
f.write('\n')
+ f.write('app_servers=')
+ for i in app_servers:
+ f.write(i+',')
+ f.write('\n')
f.write('cjdbc_controller=')
for i in cjdbc_controller:
f.write(i+',')