From ba7fd89a3f387329f4e8ff4ad85925fd46361cae Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 16 Nov 2015 14:24:02 -0500 Subject: Split JS and HTML in task report --- src/task-report.html | 132 +-------------------------------------------------- src/task-report.js | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+), 131 deletions(-) create mode 100644 src/task-report.js (limited to 'src') diff --git a/src/task-report.html b/src/task-report.html index c4538ba..af4d66e 100644 --- a/src/task-report.html +++ b/src/task-report.html @@ -12,8 +12,6 @@ src="http://status.openstack.org/jquery-graphite.js"> - @@ -21,135 +19,7 @@

Job Stats

- - +
diff --git a/src/task-report.js b/src/task-report.js new file mode 100644 index 0000000..d68f6c3 --- /dev/null +++ b/src/task-report.js @@ -0,0 +1,125 @@ +$.fn.graphite.defaults.url = "http://graphite.openstack.org/render/"; +tasks = [ + 'CreateServer', + 'DeleteServer', + 'ListServers' +]; + +float_tasks = [ + 'AddFloatingIP', + 'CreateFloatingIP', + 'DeleteFloatingIP', + 'GetFloatingIP', + 'ListFloatingIPs' +] + +providers = [ + 'bluebox', + 'hpcloud', + 'rax', + 'tripleo', + 'ovh' +] + +jobs = [ + 'gate-tempest-dsvm-full', + 'gate-tempest-dsvm-neutron-full' +] + +for(i=0; i