network/module_utils/network_lsr
Rich Megginson 65b5d1ad85 fix: allow use of built-in routing tables
Cause: The user is trying to specify the routing table to use by the name of
a built-in routing table defined in /usr/share/iproute2/rt_tables such as `main`.

Consequence: The network role gives an error:
"cannot find route table main in `/etc/iproute2/rt_tables` or `/etc/iproute2/rt_tables.d/`"
The workaround is that the user must specify the table by number instead of name e.g
`table: 254` instead of `table: main`

Fix: Look for table mappings in /usr/share/iproute2/rt_tables as well as the other
paths.

Result: The user can use built-in route table names.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2025-09-04 10:35:37 -06:00
..
nm ci: Check spelling with codespell 2025-02-14 11:06:01 +00:00
__init__.py fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
argument_validator.py fix: allow use of built-in routing tables 2025-09-04 10:35:37 -06:00
ethtool.py disable pylint warning caused by use of python3 pylint 2024-06-04 18:09:20 -06:00
myerror.py fix most ansible-test issues, suppress the rest 2021-04-09 19:57:55 +02:00
nm_provider.py refactor: fix python black formatting 2025-01-31 08:02:52 -07:00
utils.py refractor: Use meaningful variable 2023-12-01 13:39:57 -07:00