network/tests/tasks
Gris Ge c1ad6925b7 test: Fix the bond test on DHCP
The `tests_bond_nm.yml` test fails at 50% rate due to bond interface
failed to retrieve IP address from DHCP server.

The root cause of this is NetworkManager by default create default
connections for new managed interface which place the DHCP server
interfaces into IPv4.auto method which then prevent DHCP server running
on these ports.

The fix is mark DHCP server ports(veth endpoint and bridge) as
unmanaged before link up.

Signed-off-by: Gris Ge <fge@redhat.com>
2021-07-28 19:50:09 +08:00
..
provider Forget unmanaged state in NetworkManager 2020-07-11 16:17:06 +02:00
activate_profile.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
assert_device_absent.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
assert_device_present.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
assert_output_in_stderr_without_warnings.yml library: Separate debug and info logs from warnings 2020-05-06 21:57:34 +02:00
assert_profile_absent.yml test: Fix profile assertion on Fedora 33 2020-12-16 10:39:13 +08:00
assert_profile_present.yml test: Fix profile assertion on Fedora 33 2020-12-16 10:39:13 +08:00
cleanup_802_1x_server.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
cleanup_mock_wifi.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
cleanup_profile+device.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
create_and_remove_interface.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
create_bridge_profile.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
create_bridge_profile_no_autoconnect.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
create_dummy_profile.yml RFE: Support dummy interfaces 2020-12-16 14:28:41 +08:00
create_team_profile.yml Install NetworkManager-team package when team profiles are configured 2020-10-07 11:18:30 +02:00
create_test_interfaces_with_dhcp.yml test: Fix the bond test on DHCP 2021-07-28 19:50:09 +08:00
delete_interface.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
el_repo_setup.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
enable_epel.yml EPEL yum repository configuration for tests 2021-07-16 06:11:05 +08:00
get_current_interfaces.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_interface_stat.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
get_modules_and_utils_paths.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_NetworkManager_NVR.yml tests: Do not check arch for NM version 2020-08-21 08:43:10 +02:00
get_profile_stat.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
manage_test_interface.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
remove+down_profile.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
remove_profile.yml States: Ignore already removed profile for absent 2020-06-26 20:08:51 +02:00
remove_test_interfaces_with_dhcp.yml test: Fix the bond test on DHCP 2021-07-28 19:50:09 +08:00
run_test.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
setup_802.1x.yml Add ca_path option for 802.1x connections 2020-06-15 18:26:34 +02:00
setup_802_1x_server.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
setup_mock_wifi.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
setup_mock_wifi_wpa3_owe.yml wifi: Add Opportunistic Wireless Encryption (OWE) support 2021-05-24 10:51:01 +08:00
setup_test_interface.yml Forget unmanaged state in NetworkManager 2020-07-11 16:17:06 +02:00
show_interfaces.yml Rename files to be valid python identifiers 2020-04-22 17:40:03 +02:00
start_mock_wifi.yml wifi: Add Opportunistic Wireless Encryption (OWE) support 2021-05-24 10:51:01 +08:00
test_802.1x_capath.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00