Debian Codegraph @

nfsometerlib/html/report_info.html

raw
1 <%doc>
2 Copyright 2012 NetApp, Inc. All Rights Reserved,
3 contribution by Weston Andros Adamson <[email protected]>
4
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free Software
7 Foundation; either version 2 of the License, or (at your option) any later
8 version.
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 </%doc>
13
14 % if info.toc:
15 ${info.toc.anchor()}
16 % endif
17
18 <div class="widget_container">
19 <div class="widget">
20 % if info.toc:
21 <h2>${info.toc.num()} ${info.toc.title()}</h2>
22 % endif
23
24 % if info.workload:
25 ${info.workload}
26 <table class="workload_attrs">
27 <tr>
28 <td>command:</td> <td>${info.command}</td>
29 </tr>
30 </table>
31 % endif
32
33 <h4>${info.total_runs} traces ${info.times}</h4>
34
35 <div class="traces">
36 <table class="info_traces">
37 <tr>
38 <th>runs</th>
39 <th>workload</th>
40 <th>kernel</th>
41 <th>client</th>
42 <th>server</th>
43 <th>path</th>
44 <th colspan="3">config</th>
45
46 % for i in info.selector_infos:
47 <tr>
48 <td>${i['runs']}</td>
49 <td>${i['workload']}</td>
50 <td>${i['kernel']}</td>
51 <td>${i['client']}</td>
52 <td>${i['server']}</td>
53 <td>${i['path']}</td>
54 <td>${i['mdt']}</td>
55 </tr>
56 % endfor
57 </table>
58 </div>
59
60 <div class="mount_options">
61 <h4>Options from mount</h4>
62 <table>
63 % for mdt in info.seen_mdts:
64 <tr>
65 <td><span class="mountopt">${mdt}</span></td>
66 <td>${'<br>'.join(info.mount_options[mdt])}</td>
67 </tr>
68 % endfor
69 </table>
70 </div>
71
72 % if info.warnings:
73 <div class="warnings">
74 <h4>Warnings</h4>
75 ${info.warnings}
76 </div>
77 % endif
78
79 % if info.usernotes:
80 <div class="notes">
81 <h4>Notes</h4>
82 <pre>
83 ${''.join(info.usernotes)}
84 </pre>
85 </div>
86 % endif
87
88 </div>
89 </div>
90
91 % for more in info.more:
92 <div class="widget_container">
93 <div class="widget">
94 ${more}
95 </div>
96 </div>
97 % endfor