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

refactor(NODE-1484): refactor os_tools and networking code #1666

Merged
merged 14 commits into from
Sep 30, 2024

Conversation

andrewbattat
Copy link
Member

@andrewbattat andrewbattat commented Sep 24, 2024

NODE-1484

Move the mgmt_mac conditional from generate_mac_address to the os_tool top level. This reduces the responsibility of generate_network_config and this change means we aren't passing optionals far down the stack (mgmt_mac, deployment_name). And this change makes it more clear that mgmt_mac is a branch for testing logic.

@andrewbattat andrewbattat self-assigned this Sep 24, 2024
@github-actions github-actions bot added the chore label Sep 24, 2024
@andrewbattat andrewbattat marked this pull request as ready for review September 24, 2024 22:37
@andrewbattat andrewbattat requested a review from a team as a code owner September 24, 2024 22:37
@github-actions github-actions bot added the @node label Sep 24, 2024
@andrewbattat andrewbattat changed the title chore: move generate_mac_address call to os_tools refactor: move generate_mac_address call to os_tools Sep 25, 2024
@github-actions github-actions bot added refactor and removed chore labels Sep 25, 2024
@andrewbattat andrewbattat changed the title refactor: move generate_mac_address call to os_tools refactor(NODE-1484): move generate_mac_address call to os_tools Sep 26, 2024
@andrewbattat andrewbattat changed the title refactor(NODE-1484): move generate_mac_address call to os_tools refactor(NODE-1484): generate_mac_address & generate_network_config Sep 26, 2024
@andrewbattat andrewbattat changed the title refactor(NODE-1484): generate_mac_address & generate_network_config refactor(NODE-1484): refactor os_tools and networking code Sep 26, 2024
Copy link
Member

@Bownairo Bownairo left a comment

Choose a reason for hiding this comment

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

🙌

@andrewbattat andrewbattat added this pull request to the merge queue Sep 30, 2024
Merged via the queue into master with commit 41a9d9d Sep 30, 2024
24 checks passed
@andrewbattat andrewbattat deleted the andrew/refactor-generate_network_config-mgmt_mac branch September 30, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants