Skip to content

Commit a976422

Browse files
committed
Revert "Everflow T2 topo support and ipv6 egress tests (#6225)"
This reverts commit c3f0980.
1 parent b31ceda commit a976422

File tree

5 files changed

+272
-1053
lines changed

5 files changed

+272
-1053
lines changed

tests/everflow/conftest.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +0,0 @@
1-
import pytest
2-
import logging
3-
4-
5-
@pytest.fixture(autouse=True, scope="package")
6-
def setup_recycle_port(duthosts, tbinfo):
7-
"""Setup recycle port ip address on t2 topo"""
8-
if "t2" not in tbinfo['topo']['name']:
9-
return
10-
for duthost in duthosts.frontend_nodes:
11-
for asic in duthost.asics:
12-
cmd = "sudo config interface -n {ns} ip add Ethernet-Rec{rec} 1.1.1.{an}/32".format(ns=asic.namespace,
13-
rec=asic.asic_index,
14-
an=asic.asic_index+1)
15-
logging.info(cmd)
16-
duthost.command(cmd)
17-
duthost.command("sudo config save -y")
18-
yield
19-
for duthost in duthosts.frontend_nodes:
20-
for asic in duthost.asics:
21-
cmd = "sudo config interface -n {ns} ip remove Ethernet-Rec{rec} 1.1.1.{an}/32".format(ns=asic.namespace,
22-
rec=asic.asic_index,
23-
an=asic.asic_index+1)
24-
logging.info(cmd)
25-
duthost.command(cmd)
26-
duthost.command("sudo config save -y")

0 commit comments

Comments
 (0)