network/tests
Rich Megginson 9e6e150a6e fix: add support for EL10
According to the Ansible team, support for listing platforms in
role `meta/main.yml` files is being removed.
Instead, they recommend using `galaxy_tags`

https://github.com/ansible/ansible/blob/stable-2.17/changelogs/CHANGELOG-v2.17.rst
"Remove the galaxy_info field platforms from the role templates"
https://github.com/ansible/ansible/issues/82453

Many roles already have tags such as "rhel", "redhat", "centos", and "fedora".
I propose that we ensure all of the system roles have these tags.
Some of our roles support Suse, Debian, Ubuntu, and others.
We should add tags for those e.g. the ssh role already has tags for "debian" and "ubuntu".

In addition - for each version listed under `platforms.EL` - add a tag like `elN`.

Q: Why not use a delimiter between the platform and the version e.g. `el-10`?

This is not allowed by ansible-lint:

```
meta-no-tags: Tags must contain lowercase letters and digits only., invalid: 'el-10'
meta/main.yml:1
```

So we cannot use uppercase letters either.

Q: Why not use our own meta/main.yml field?

No other fields are allowed by ansible-lint:

```
syntax-check[specific]: 'myfield' is not a valid attribute for a RoleMetadata
```

Q: Why not use some other field?

There are no other applicable or suitable fields.

Q: What happens when we want to support versions like `N.M`?

Use the word "dot" instead of "." e.g. `el10dot3`.
Similarly - use "dash" instead of "-".

We do not need tags such as `fedoraall`.
The `fedora` tag implies that the role works on all supported versions of fedora.
Otherwise, use tags such as `fedora40` if the role only supports specific versions.

Teaming support is dropped in EL10.  Provide an error to users who attempt
to use teaming and suggest that they use bonding instead.  Skip teaming
tests on EL10.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2024-07-02 09:09:05 -06:00
..
files Add support for domain-suffix-match 802.1x option 2020-05-04 13:01:41 +02:00
integration Clean up connection profile after running pytest 2022-03-14 18:27:02 +01:00
playbooks test: debug deprecated bond test failures 2024-07-02 09:02:23 -06:00
roles/linux-system-roles.network System Roles should consistently use ansible_managed in configuration files it manages 2022-02-25 06:10:42 +08:00
tasks test: improve name text for skipped ostree tests 2024-03-25 17:30:00 -06:00
unit fix python black formatting 2024-06-04 18:09:20 -06:00
.gitignore Move tests to /tests directory and rename to new naming scheme 2018-05-16 19:48:23 +02:00
covstats refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
ensure_provider_tests.py fix: add support for EL10 2024-07-02 09:09:05 -06:00
get_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
get_coverage.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
get_total_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
git-post-commit.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
git-pre-commit.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07:00
merge_coverage.sh refactor: get_ostree_data.sh use env shebang - remove from .sanity* 2023-12-07 07:25:47 -07: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
setup-snapshot.yml style: ansible-lint - fix missing YAML document start 2023-04-28 09:15:50 -06:00
tests_802_1x_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_802_1x_updated_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_auto_gateway_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_auto_gateway_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_cloned_mac_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_cloned_mac_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_deprecated_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_deprecated_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_options_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_removal_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bond_removal_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bridge_cloned_mac_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bridge_cloned_mac_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bridge_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_bridge_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_change_indication_on_repeat_run.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_default.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_default_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_default_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_dummy_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_eth_dns_support_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_eth_pci_address_match_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethernet_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethernet_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_coalesce_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_coalesce_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_features_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_features_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_ring_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ethtool_ring_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_helpers_and_asserts.yml ansible-lint: Fix name[missing] and name[play] failures 2023-04-10 17:49:07 +02:00
tests_ignore_auto_dns_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_infiniband_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_integration_pytest.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ipv6_disabled_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ipv6_dns_search_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ipv6_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_ipv6_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_network_state_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_provider_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_reapply_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_regression_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_route_device_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_route_device_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_route_table_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_route_type_nm.yml feat: Support blackhole, prohibit and unreachable route types 2024-01-12 14:14:50 -07:00
tests_routing_rules_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_states_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_states_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_switch_provider.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_team_nm.yml fix: add support for EL10 2024-07-02 09:09:05 -06:00
tests_team_plugin_installation_nm.yml fix: add support for EL10 2024-07-02 09:09:05 -06:00
tests_unit.yml test: Add DNS, routes and network connectivity checks during cleanup 2024-02-14 20:20:49 -07:00
tests_vlan_mtu_initscripts.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_vlan_mtu_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_wireless_and_network_restart_nm.yml test: improve name text for skipped ostree tests 2024-03-25 17:30:00 -06:00
tests_wireless_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_wireless_plugin_installation_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_wireless_wpa3_owe_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00
tests_wireless_wpa3_sae_nm.yml ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00