ethernet¶
Source code: ethernet.py
A factory test for basic ethernet connectivity.
Description¶
A factory test for basic ethernet connectivity.
Test Procedure¶
This is an automated test without user interaction. It may require user to press the space bar if not set to auto_start.
Dependency¶
The pytest depends on the ethernet on the system.
Examples¶
To use the test:
{
"pytest_name": "ethernet",
"label": "Ethernet Test",
"related_components": [
"test_tags.TestCategory.ETHERNET"
],
"args": {
"auto_start": true,
"link_only": true,
"iface": "eth0"
}
}
Test Arguments¶
Name |
Type |
Description |
---|---|---|
auto_start |
bool |
(optional; default: |
test_url |
str, None |
(optional; default: |
md5sum |
str, None |
(optional; default: |
retry_interval_msecs |
int |
(optional; default: |
iface |
str, None |
(optional; default: |
interface_name_patterns |
list |
(optional; default: |
link_only |
bool |
(optional; default: |
use_swconfig |
bool |
(optional; default: |
swconfig_switch |
str |
(optional; default: |
swconfig_ports |
int, list, None |
(optional; default: |
swconfig_expected_speed |
int, list, None |
(optional; default: |