aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-11-30 09:35:18 +0100
committerTibor Frank <tifrank@cisco.com>2020-11-30 09:35:18 +0100
commit5900be05c3d7bacc89c81941b6efc24eb2c01bd4 (patch)
treee52c7e51d588c1b740f9ac599b69522324c4f55a /resources/tools
parenta5a51a112a0d3475f2368a18b6b42f7712ec5b25 (diff)
Trending: Reorganize the NAT44 chapters
Change-Id: Ifec550ae69c6454d0adbc08d3e49435c3cca380f Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/presentation/generator_tables.py24
1 files changed, 19 insertions, 5 deletions
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: