LNST-project / lnst

Linux Network Stack Test
GNU General Public License v2.0
73 stars 33 forks source link

Device: Add {up,down}_and_wait methods #307

Closed Kuba314 closed 1 year ago

Kuba314 commented 1 year ago

Description

These methods will call up/down on a interface and wait for it to be in the desired state or raise an exception.

Tests

Tested locally by running .github/runner.py and replacing .up() with .up_and_wait(timeout=5).

Reviews

@LNST-project/lnst-developers

Closes: #305