From 5900be05c3d7bacc89c81941b6efc24eb2c01bd4 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 30 Nov 2020 09:35:18 +0100 Subject: Trending: Reorganize the NAT44 chapters Change-Id: Ifec550ae69c6454d0adbc08d3e49435c3cca380f Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'resources/tools/presentation/generator_tables.py') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 4bee6e343e..fd254cc3b7 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -1002,15 +1002,15 @@ def _generate_url(testbed, test_name): cores = u"4t4c" elif u"2t1c" in test_name or \ (u"-1c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx")): + testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): cores = u"2t1c" elif u"4t2c" in test_name or \ (u"-2c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx")): + testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): cores = u"4t2c" elif u"8t4c" in test_name or \ (u"-4c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx")): + testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): cores = u"8t4c" else: cores = u"" @@ -1047,7 +1047,7 @@ def _generate_url(testbed, test_name): elif u"oacl50s" in test_name: bsf = u"features-oacl50" elif u"nat44det" in test_name: - bsf = u"nat44det" + bsf = u"nat44det-bidir" elif u"nat44ed" in test_name and u"udir" in test_name: bsf = u"nat44ed-udir" elif u"-cps" in test_name and u"ethip4udp" in test_name: @@ -1079,8 +1079,22 @@ def _generate_url(testbed, test_name): if u"114b" in test_name and u"vhost" in test_name: domain = u"vts" - elif u"nat44" in test_name or u"-pps" in test_name or u"-vps" in test_name: + elif u"nat44" in test_name or u"-pps" in test_name or u"-cps" in test_name: domain = u"nat44" + if u"nat44det" in test_name: + domain += u"-det-bidir" + else: + domain += u"-ed" + if u"udir" in test_name: + domain += u"-unidir" + elif u"-ethip4udp-" in test_name: + domain += u"-udp" + elif u"-ethip4tcp-" in test_name: + domain += u"-tcp" + if u"-cps" in test_name: + domain += u"-cps" + elif u"-pps" in test_name: + domain += u"-pps" elif u"testpmd" in test_name or u"l3fwd" in test_name: domain = u"dpdk" elif u"memif" in test_name: -- cgit 1.2.3-korg