Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #36548 - Avoid parsing interfaces with shared MACs #9761

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jun 29, 2023

In Azure it is possible to see the same interface share the same MAC address. Foreman wants to identify an interface by its MAC address, and doesn't handle it.

This patch makes parse_interfaces? take duplicate MAC addresses into account and ignores them. While it's not pretty, it at least allows other facts to be imported.

At the moment it's completely untested, but allows me to share the concept easier then describing it.

In Azure it is possible to see the same interface share the same MAC
address. Foreman wants to identify an interface by its MAC address, and
doesn't handle it.

This patch makes `parse_interfaces?` take duplicate MAC addresses into
account and ignores them. While it's not pretty, it at least allows
other facts to be imported.
@theforeman-bot
Copy link
Member

Issues: #36548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants