X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=b37b1fe91a6d9d50885df6a52f7d566c6f38a1be;hb=cd2a57aba61553f36c638dc6e8d949e1739fb6bf;hp=3ab887070f063a96774f18c5a0fbf7fbdcdc48b2;hpb=95a6f931ea80e2f6cb68a04cccb7ff1016902765;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 3ab887070f..b37b1fe91a 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -825,6 +825,14 @@ def _generate_url(base, testbed, test_name): elif "ipsec" in test_name: file_name = "ipsec" feature = "-base-scale" + if "hw-" in test_name: + file_name = "ipsechw" + elif "sw-" in test_name: + file_name = "ipsecsw" + if "-int-" in test_name: + feature = "-base-scale-int" + elif "tnl" in test_name: + feature = "-base-scale-tnl" elif "ethip4lispip" in test_name or "ethip4vxlan" in test_name: file_name = "ip4_tunnels" @@ -872,6 +880,8 @@ def _generate_url(base, testbed, test_name): nic = "vic1227-" elif "vic1385" in test_name: nic = "vic1385-" + elif "x553" in test_name: + nic = "x553-" else: nic = "" anchor += nic @@ -905,8 +915,8 @@ def _generate_url(base, testbed, test_name): elif "8t4c" in test_name: anchor += "8t4c" - return url + file_name + '-' + testbed + '-' + nic + framesize + feature + \ - anchor + feature + return url + file_name + '-' + testbed + '-' + nic + framesize + \ + feature.replace("-int", "").replace("-tnl", "") + anchor + feature def table_performance_trending_dashboard_html(table, input_data):