Skip to content

Fix network preservation #357

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Cristi1324
Copy link
Contributor

No description provided.

Copy link
Contributor

@Dany9966 Dany9966 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM

if ip in info["ip_addresses"] and mac_address:
net_ifaces_info[iface] = mac_address
elif ip_addresses:
LOG.info("Parsed nic info does not contain mac address")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Please capitalize NIC and MAC.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also include the NIC name, so then you know which NIC this is about.

net_ifaces_info[iface] = mac_address
elif ip_addresses:
LOG.info("Parsed nic info does not contain mac address")
LOG.info("<templog>Ip adresses: %s",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intended to be just a testing log?

@Cristi1324 Cristi1324 force-pushed the fix-net-preservation branch from 857d0d7 to 59cc2ee Compare June 25, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants