aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-09 11:51:18 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-09 11:51:18 +0200
commit061ea1864e550ea7f9fbc6bc2a096b2cedd94b96 (patch)
treef1ee92fe5f56a69bf2234258c6866ac92cb04ca8 /resources/tools/presentation
parent17ff5ca43cea5d9270a72926f68368c0fae6d4b9 (diff)
PAL: Static content - indexes
Change-Id: I5ebe1bc959e893fc617f69b9c3e01eee262651e0 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_CPTA.py3
-rw-r--r--resources/tools/presentation/specification_CPTA.yaml2
2 files changed, 4 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py
index 69c52d4180..9cce8ed8b2 100644
--- a/resources/tools/presentation/generator_CPTA.py
+++ b/resources/tools/presentation/generator_CPTA.py
@@ -365,6 +365,7 @@ def _generate_all_charts(spec, input_data):
csv_table = list()
# Create the header:
builds = spec.cpta["data"].values()[0]
+ job_name = spec.cpta["data"].keys()[0]
builds_lst = [str(build) for build in range(builds[0], builds[-1] + 1)]
header = "Build Number:," + ",".join(builds_lst) + '\n'
csv_table.append(header)
@@ -424,6 +425,8 @@ def _generate_all_charts(spec, input_data):
idx += 1
# Generate the chart:
+ chart["layout"]["xaxis"]["title"] = \
+ chart["layout"]["xaxis"]["title"].format(job=job_name)
_generate_chart(traces,
chart["layout"],
file_name="{0}-{1}-{2}{3}".format(
diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml
index f5097fc782..e1b80351b2 100644
--- a/resources/tools/presentation/specification_CPTA.yaml
+++ b/resources/tools/presentation/specification_CPTA.yaml
@@ -102,7 +102,7 @@
showgrid: True
xaxis:
showticklabels: True
- title: "VPP Performance Trending Job ID"
+ title: "/csit/job/{job}/$id"
autorange: True
showgrid: True
gridcolor: "rgb(238, 238, 238)"