Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1270: Split feature tests in trending
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
99069ea
..
1bbe8e3
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-555,9
+555,15
@@
def _generate_url(base, testbed, test_name):
elif "vhost" in test_name:
if "l2xcbase" in test_name or "l2bdbasemaclrn" in test_name:
file_name = "vm_vhost_l2"
elif "vhost" in test_name:
if "l2xcbase" in test_name or "l2bdbasemaclrn" in test_name:
file_name = "vm_vhost_l2"
+ if "l2xcbase" in test_name:
+ feature = "-base-l2xc"
+ elif "l2bdbasemaclrn" in test_name:
+ feature = "-base-l2bd"
+ else:
+ feature = "-base"
elif "ip4base" in test_name:
file_name = "vm_vhost_ip4"
elif "ip4base" in test_name:
file_name = "vm_vhost_ip4"
- feature = "-base"
+
feature = "-base"
elif "ipsec" in test_name:
file_name = "ipsec"
elif "ipsec" in test_name:
file_name = "ipsec"
@@
-571,7
+577,11
@@
def _generate_url(base, testbed, test_name):
file_name = "ip4"
if "xl710" in test_name:
feature = "-base-scale-features"
file_name = "ip4"
if "xl710" in test_name:
feature = "-base-scale-features"
- elif "acl" in test_name or "snat" in test_name or "cop" in test_name:
+ elif "iacl" in test_name:
+ feature = "-features-iacl"
+ elif "oacl" in test_name:
+ feature = "-features-oacl"
+ elif "snat" in test_name or "cop" in test_name:
feature = "-features"
else:
feature = "-base-scale"
feature = "-features"
else:
feature = "-base-scale"
@@
-584,8
+594,12
@@
def _generate_url(base, testbed, test_name):
or "l2bdbasemaclrn" in test_name or "l2bdscale" in test_name \
or "l2dbbasemaclrn" in test_name or "l2dbscale" in test_name:
file_name = "l2"
or "l2bdbasemaclrn" in test_name or "l2bdscale" in test_name \
or "l2dbbasemaclrn" in test_name or "l2dbscale" in test_name:
file_name = "l2"
- if "acl" in test_name:
- feature = "-features"
+ if "macip" in test_name:
+ feature = "-features-macip"
+ elif "iacl" in test_name:
+ feature = "-features-iacl"
+ elif "oacl" in test_name:
+ feature = "-features-oacl"
else:
feature = "-base-scale"
else:
feature = "-base-scale"