summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/rubbos')
-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+',')