Skip to content

ethernet: add checks for WOL mode removal in nmcli editor

David Jaša requested to merge dj/nmcli-wol into master

When nmcli conection editor sets property, it actually appends the new value. 802-3-ethernet.wake-on-lan however needs to set just one value. To reconcile these incompatible schemes, nmcli editor uses 'remove' command to be used before or after setting the new value so that 'set' command can keep appending while upon saving, property can have just one value.

The steps added to @nmcli_ethernet_wol_from_file_to_default scenario test removal of old value both before and after setting new value.

Tests fix for: https://bugzilla.redhat.com/show_bug.cgi?id=2016348

Merge request reports