rubbos installation guide
[bottlenecks.git] / vstf / vstf / controller / reporters / README
1 Tree
2
3 ├── __init__.py
4 ├── mail
5 │   ├── __init__.py
6 │   ├── mail.py
7 │   └── sendmail.py
8 ├── report
9 │   ├── data_factory.py
10 │   ├── html
11 │   │   ├── html_base.py
12 │   │   ├── htmlcreater.py
13 │   │   ├── html_text.py
14 │   │   └── __init__.py
15 │   ├── __init__.py
16 │   ├── pdf
17 │   │   ├── element.py
18 │   │   ├── __init__.py
19 │   │   ├── pdfcreater.py
20 │   │   ├── pdftemplate.py
21 │   │   ├── story.py
22 │   │   └── styles.py
23 │   └── provider
24 │       ├── html_provider.py
25 │       └── __init__.py
26 └── reporter.py
27
28
29 Entry:
30     reporter.py
31
32     usage: reporter.py [-h] [-rpath RPATH] [-mail_off] [--taskid TASKID]
33
34     optional arguments:
35         -h, --help       show this help message and exit
36         -rpath RPATH     the path name of test results
37         -mail_off        is need send mail the for the report
38         --taskid TASKID  report depand of a history task id.
39
40 Settings:
41     mail_settings
42
43         {
44             "server":
45             {
46                 "host": "localhost",
47                 "username": null,
48                 "password": null
49             },
50             "body":
51             {
52                 "from": ["vstf_from@vstf.com"],
53                 "to": ["vstf_to@vstf.com"],
54                 "cc": ["vstf_cc@vstf.com"],
55                 "bcc": ["vstf_bcc@vstf.com"],
56                 "subject": "Elastic Virtual Switching Performance Test Report"
57             }
58         }
59
60     html_settings
61
62         {
63             "style":{
64                 "table":{
65                     "font-family":"\"Trebuchet MS\", Arial, Helvetica, sans-serif",
66                     "border":"1px solid green",
67                     "border-collapse":"collapse",
68                     "padding":"8px",
69                     "text-align":"center"
70                 },
71                 "td":{
72                     "border":"1px solid green",
73                     "padding":"8px",
74                     "word-wrap":"break-all"
75                 },
76                 "th":{
77                     "background-color":"#EAF2D3",
78                     "border":"1px solid green",
79                     "padding":"8px"
80                 }
81             }
82         }
83
84     data_settings
85
86         {
87             "ovs":{
88                 "content":{
89                     "version":3.0
90                 },
91                 "title":"Ovs info"
92             },
93             "result":{
94                 "content":{},
95                 "title":"Performance Result"
96             },
97             "subject":"ATF Performance Test Tnv Model"
98         }
99 Module:
100     mail
101     html
102     pdf
103
104
105 Others:
106      pip processes the package "reportlab"
107
108      pip install reportlab
109