Lines Matching full:report
166 Get an mtr report and return it as a dictionary of dictionaries.
170 report.
174 report:
175 report[host_dummy-dnsname.com]:
176 report[host_dummy-dnsname.com][row_num]: 1
177 report[host_dummy-dnsname.com][host]: host_dummy-dnsname.com
178 report[host_dummy-dnsname.com][loss]: 0.0
179 report[host_dummy-dnsname.com][snt]: 10
180 report[host_dummy-dnsname.com][last]: 0.2
181 report[host_dummy-dnsname.com][avg]: 3.5
182 report[host_dummy-dnsname.com][best]: 0.2
183 report[host_dummy-dnsname.com][wrst]: 32.5
184 report[host_dummy-dnsname.com][stdev]: 10.2
185 report[bmc-dummy-dnsname.com]:
186 report[bmc-dummy-dnsname.com][row_num]: 2
187 report[bmc-dummy-dnsname.com][host]: bmc-dummy-dnsname.com
188 report[bmc-dummy-dnsname.com][loss]: 0.0
189 report[bmc-dummy-dnsname.com][snt]: 10
190 report[bmc-dummy-dnsname.com][last]: 0.5
191 report[bmc-dummy-dnsname.com][avg]: 0.5
192 report[bmc-dummy-dnsname.com][best]: 0.5
193 report[bmc-dummy-dnsname.com][wrst]: 0.5
194 report[bmc-dummy-dnsname.com][stdev]: 0.0
203 "mtr --report "
217 # Initialize report dictionary.
218 report = DotDict()
234 report[row["host"]] = row
236 # Return the full report as dictionary of dictionaries.
237 return report
242 Run an mtr report and get a specified row and return it as a dictionary.
259 well as the indicating which row of the report to return.
262 report = get_mtr_report(host)
265 row = [value for key, value in report.items() if host[0:28] in key][0]