Skip to content

acp init#171

Draft
Honigeintopf wants to merge 16 commits into
masterfrom
acp-adjustments
Draft

acp init#171
Honigeintopf wants to merge 16 commits into
masterfrom
acp-adjustments

Conversation

@Honigeintopf
Copy link
Copy Markdown

Description

None

@Honigeintopf Honigeintopf requested a review from a team as a code owner October 27, 2025 13:39
Comment thread cmd/internal/switcher/sonic/sonic.go Outdated
func (s *Sonic) GetManagement() (ip, user string, err error) {
ip, err = internal.GetManagementIP("eth0")
// problem
ip, err = internal.GetManagementIP("Ethernet0")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not true for all installations, so at least a flag should be provided

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Wdym with flag?
We are using this PR for testing only right now.
I thought also for the future it would be nice, if we had a way of specifying the port the user wants to use as mgmtport instead of hardcoding it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Obviuosly default can be set to eth0, so this is not a breaking change

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wdym with flag? We are using this PR for testing only right now. I thought also for the future it would be nice, if we had a way of specifying the port the user wants to use as mgmtport instead of hardcoding it.

Then please make a draft PR out of this.

@Honigeintopf Honigeintopf marked this pull request as draft October 27, 2025 15:28
@iljarotar
Copy link
Copy Markdown
Contributor

@Honigeintopf what is the status of this?

@Honigeintopf
Copy link
Copy Markdown
Author

Is needed for the mini rack, let's keep it for a few weeks if still stale I will close it.

@iljarotar
Copy link
Copy Markdown
Contributor

Can you explain a bit what it does? Is it really only useful for the mini rack or are there general improvements that we should consider merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants