network/library
Wen Liang fe7c6c6fd5 fix: Refine MAC validation using interface name
When a user provides both an interface name and a MAC address, the
current validation process retrieves sysfs link info separately using
the interface name and the MAC address, then compares the results. If
the information doesn't match, an error is raised.

However, this approach may trigger false alarms because retrieving the
link info by MAC might return the link info that only matches the
current MAC instead of the permanent MAC. Since the interface name is
unique within the kernel, a more robust validation method is to fetch
the MAC address using the interface name and then compare it directly
with the user-provided MAC address.

Resolves: https://issues.redhat.com/browse/RHEL-84362

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2025-03-31 22:25:32 -04:00
..
__init__.py Add Pytest integration tests 2020-08-24 21:52:25 +02:00
network_connections.py fix: Refine MAC validation using interface name 2025-03-31 22:25:32 -04:00
network_state.py ci: Use supported ansible-lint action; run ansible-lint against the collection 2024-01-05 17:36:07 -07:00