network/tests
Wen Liang af123707c2 Set DNS search setting only for enabled IP families
NetworkManager requires to configure DNS options (such as the search
setting) for each IP family even though it does not matter in the
system's DNS configuration. Also, NetworkManager only allows to
configure the DNS options for each IP family, when they are enabled. In
the network_connections dictionary, the DNS options are configured
without considering the IP family. Therefore, configure ipv4.dns-search
or ipv6.dns-search only if the IP family is enabled.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2021-12-21 09:18:38 +01:00
..
files Add support for domain-suffix-match 802.1x option 2020-05-04 13:01:41 +02:00
integration fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
playbooks Set DNS search setting only for enabled IP families 2021-12-21 09:18:38 +01:00
roles/linux-system-roles.network Modularize role 2018-08-15 10:04:47 +02:00
tasks add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
unit Reject DNS_search setting if no IP family is enabled 2021-12-14 13:29:08 +01:00
.gitignore Move tests to /tests directory and rename to new naming scheme 2018-05-16 19:48:23 +02:00
covstats fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
ensure_provider_tests.py Set DNS search setting only for enabled IP families 2021-12-21 09:18:38 +01:00
get_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
get_coverage.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
get_total_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
git-post-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
git-pre-commit.sh fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
merge_coverage.sh fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
module_utils Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
modules Integration tests: Fix coverage collection 2020-04-15 22:12:22 +02:00
tests_802_1x_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_802_1x_updated_nm.yml should not have removed epel setup from 802 tests 2021-07-29 00:40:40 +08:00
tests_auto_gateway_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_auto_gateway_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_bond_deprecated_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_deprecated_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_bond_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bond_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_bridge_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_bridge_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_change_indication_on_repeat_run.yml nm: Fix the incorrect change indication for dns option 2021-07-05 20:15:57 +08:00
tests_default.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_default_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_default_nm.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_dummy_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_eth_dns_support_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_eth_pci_address_match_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethernet_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethernet_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_coalesce_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_coalesce_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_features_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_features_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ethtool_ring_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ethtool_ring_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_helpers_and_asserts.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_integration_pytest.yml test: Fix EL6 repo 2020-12-22 08:14:39 +08:00
tests_ipv6_disabled_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_ipv6_dns_search_nm.yml Set DNS search setting only for enabled IP families 2021-12-21 09:18:38 +01:00
tests_ipv6_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_ipv6_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_provider_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_reapply_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_regression_nm.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_states_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_team_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_team_plugin_installation_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_unit.yml Cleaning up ansible-lint errors except '106', '303' and '403' 2021-04-15 20:53:53 +02:00
tests_vlan_mtu_initscripts.yml Disable initscripts tests in rhel-9 2021-07-29 16:44:44 -04:00
tests_vlan_mtu_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_plugin_installation_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_wpa3_owe_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00
tests_wireless_wpa3_sae_nm.yml fix ensure_provider_tests.py; fix generated tests; add check to CI 2021-10-19 20:21:03 +02:00