ethernet

This test checks if Ethernet is up and prints IP address.

What It Tests

  • ethernet-ping-state-UP: validate the status of the INTERFACE is statute up

  • ethernet-ping-route: validate the route addresstion is reachable via ping

Preconditions

  • For ostree enabled image, it shall be unlocked via ostree admin unlock --hotfix

Test Parameters

Parameter

Default

Description

SKIP_INSTALL

"False"

skip the install

INTERFACE

"eth0"

specifiy the ethernet interface name

Test Steps

cd automated/linux/ethernet
./ethernet.sh -s "${SKIP_INSTALL}" -i "${INTERFACE}"

Refer to ethernet.yaml for complete test definition and execution details.

Expected Results

  • the specified ethernet interface is in state up

  • the route address is reachable via ping

References