Skip to content
Closed
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def pytest_addoption(parser):
help="Deep clean DUT before tests (remove old logs, cores, dumps)")



@pytest.fixture(scope="session", autouse=True)
def enhance_inventory(request):
"""
Expand Down
5 changes: 0 additions & 5 deletions tests/route/conftest.py

This file was deleted.

186 changes: 0 additions & 186 deletions tests/route/test_route_perf.py

This file was deleted.

55 changes: 55 additions & 0 deletions tests/vxlan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,61 @@

logger = logging.getLogger(__name__)

def pytest_addoption(parser):
"""
Adds pytest options that are used by VxLAN tests
"""

parser.addoption(
"--num_vnet",
action="store",
default=8,
type=int,
help="number of VNETs for VNET VxLAN test"
)

parser.addoption(
"--num_routes",
action="store",
default=16000,
type=int,
help="number of routes for VNET VxLAN test"
)

parser.addoption(
"--num_endpoints",
action="store",
default=4000,
type=int,
help="number of endpoints for VNET VxLAN"
)

parser.addoption(
"--num_intf_per_vnet",
action="store",
default=1,
type=int,
help="number of VLAN interfaces per VNET"
)

parser.addoption(
"--ipv6_vxlan_test",
action="store_true",
help="Use IPV6 for VxLAN test"
)

parser.addoption(
"--skip_cleanup",
action="store_true",
help="Do not cleanup after VNET VxLAN test"
)

parser.addoption(
"--skip_apply_config",
action="store_true",
help="Apply new configurations on DUT"
)

@pytest.fixture(scope="module")
def scaled_vnet_params(request):
"""
Expand Down
54 changes: 0 additions & 54 deletions tests/vxlan/conftest.py

This file was deleted.