aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-11-23 11:58:03 +0100
committerTibor Frank <tifrank@cisco.com>2020-11-23 11:02:02 +0000
commite9866fae25445387b522578585c942513960f22f (patch)
tree4682058181c6af0f3e62da24161a4ba0d228a6b4
parent235c35199436fe4d6ff996543aea47e8ce6a148d (diff)
Trendig: Fix alerting for 2n-zn2
Change-Id: I4e4d156dcb9d93bf0c537a870e6fab6c500f5810 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 379e58a740271d84b15059f7059661fbec13cef8)
-rw-r--r--resources/tools/presentation/generator_alerts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_alerts.py b/resources/tools/presentation/generator_alerts.py
index da45d75..74bcd56 100644
--- a/resources/tools/presentation/generator_alerts.py
+++ b/resources/tools/presentation/generator_alerts.py
@@ -352,7 +352,9 @@ class Alerting:
device = u""
try:
groups = re.search(
- re.compile(r'((vpp|dpdk)-\dn-(skx|clx|hsw|tsh|dnv)-.*)'),
+ re.compile(
+ r'((vpp|dpdk)-\dn-(skx|clx|hsw|tsh|dnv|zn2)-.*)'
+ ),
test_set
)
test_set_short = groups.group(1)