Files
Joachim Wiberg 1bbd80d8c7 test: drop leading ietf/infix prefix from directories
Let's drop the leading IETF or Infix prefixes from tests.  Initially the
idea was to mimnic the YANG models, but it's difficult to navigate and
does not provide any real benefit to developers or end-users.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-11-20 20:23:23 +01:00

26 lines
772 B
Plaintext

=== Syslog Pattern Matching
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/syslog/pattern_match]
==== Description
Verify the select-match feature: filtering syslog messages based on
pattern-match (POSIX regex) on message content. Tests both simple
substring matching and complex regex patterns.
==== Topology
image::topology.svg[Syslog Pattern Matching topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Clean up old log files from previous test runs
. Configure syslog with pattern-match filters
. Send test messages with various patterns
. Verify errors log contains ERROR and CRITICAL messages
. Verify routers log contains matching router[0-9]+ pattern
. Verify all-messages log contains all test messages