Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/route/test_route_flap.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from ptf.mask import Mask
from natsort import natsorted
from tests.common.helpers.assertions import pytest_assert
from tests.common.plugins.loganalyzer.loganalyzer import LogAnalyzer

pytestmark = [
pytest.mark.topology("any"),
Expand Down Expand Up @@ -286,6 +287,12 @@ def test_route_flap(duthosts, tbinfo, ptfhost, ptfadapter,
nexthop = common_config.get('nhipv4', NHIPV4)
duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname]
asichost = duthost.asic_instance(enum_rand_one_frontend_asic_index)

ignoreRegex = [
".*ERR.*\"missed_FRR_routes\".*"
]
loganalyzer = LogAnalyzer(ansible_host=duthost, marker_prefix="stress_routes_helper")
loganalyzer.ignore_regex.extend(ignoreRegex)
# On dual-tor, unicast upstream l3 packet destination mac should be vlan mac
# After routing, output packet source mac will be replaced with port-channel mac (same as dut_mac)
# On dual-tor, vlan mac is different with dut_mac. U0/L0 use same vlan mac for AR response
Expand Down