aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-11-12 19:04:07 +0100
committerTibor Frank <tifrank@cisco.com>2021-11-12 19:04:07 +0100
commit7d84c1e92f454ceb2159fcc17dd4338028d41f4d (patch)
tree7c962a3a810557a5239b4815c5d3ef6af91daa2c /resources
parent7b3cf8085cb05c8a327cecf6fd4cfb83430ee5e3 (diff)
Report: Show min/avg/max latency for aws - fixes
Change-Id: I119fa64da4b178cb6a8abe63fb16e0bc7f18fd70 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/input_data_parser.py18
-rw-r--r--resources/tools/presentation/specifications/report/elements.yaml6
2 files changed, 11 insertions, 13 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 461d7b423d..4fdc7e3353 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -518,17 +518,15 @@ class ExecutionChecker(ResultVisitor):
)
if all(hdr_lat):
return hdr_lat
- else:
- hdr_lat = (
- in_list_1[0], in_list_1[1], in_list_1[2],
- in_list_2[0], in_list_2[1], in_list_2[2]
- )
- for item in hdr_lat:
- if item in (u"-1", u"4294967295", u"0"):
- return None
- return hdr_lat
- return None
+ hdr_lat = (
+ in_list_1[0], in_list_1[1], in_list_1[2],
+ in_list_2[0], in_list_2[1], in_list_2[2]
+ )
+ for item in hdr_lat:
+ if item in (u"-1", u"4294967295", u"0"):
+ return None
+ return hdr_lat
try:
out_msg = (
diff --git a/resources/tools/presentation/specifications/report/elements.yaml b/resources/tools/presentation/specifications/report/elements.yaml
index faba2b49c1..4f03293601 100644
--- a/resources/tools/presentation/specifications/report/elements.yaml
+++ b/resources/tools/presentation/specifications/report/elements.yaml
@@ -4173,7 +4173,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 2n-dnv"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,2N,DNV]}/vpp_performance_results_2n_dnv"
+ output-file: "{DIR[DTR,PERF,VPP,2N,DNV]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"
@@ -4190,7 +4190,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 2n-aws"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,2N,AWS]}/vpp_performance_results_2n_aws"
+ output-file: "{DIR[DTR,PERF,VPP,2N,AWS]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"
@@ -4207,7 +4207,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 3n-aws"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,3N,AWS]}/vpp_performance_results_3n_aws"
+ output-file: "{DIR[DTR,PERF,VPP,3N,AWS]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"
"p">(con.ctx(), std::ref(*this)); auto& payload = req.get_request().get_payload(); payload.tx_hold = m_tx_hold; payload.tx_interval = m_tx_interval; memcpy(payload.system_name, m_system_name.c_str(), std::min(sizeof(payload.system_name), m_system_name.length())); VAPI_CALL(req.execute()); m_hw_item.set(wait()); return rc_t::OK; } std::string config_cmd::to_string() const { std::ostringstream s; s << "Lldp-global-config: " << m_hw_item.to_string() << " system_name:" << m_system_name << " tx-hold:" << m_tx_hold << " tx-interval:" << m_tx_interval; return (s.str()); } }; // namespace lldp_global_cmds }; // namespace VOM /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "mozilla") * End: */