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

Guest agent: Add comment about host address #7557

Merged

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Sep 27, 2024

Hopefully this clears up confusion about what the HostIP refers to.

@mook-as mook-as requested a review from Nino-K September 27, 2024 17:34
Hopefully this clears up confusion about what the HostIP refers to.

Signed-off-by: Mark Yen <[email protected]>
@mook-as mook-as force-pushed the guestagent-hostip-clarification branch from 3f88597 to 7ffb6e2 Compare September 27, 2024 17:36
@@ -23,9 +23,12 @@ import "github.com/docker/go-connections/nat"
type PortMapping struct {
// Remove indicates whether the port mappings should be removed (true) or added (false)
Remove bool `json:"remove"`
// Ports contains the port mappings for both IPv4 and IPv6 addresses
// Ports contains the port mappings for both IPv4 and IPv6 addresses. The host address
Copy link
Member

Choose a reason for hiding this comment

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

Just to clarify, the term "host" always refers to the actual host machine, such as a Windows machine, and cannot mean anything else. If there's any confusion regarding the host being interpreted as a previous network hop—like a namespace network, that would be the upstream/downstream address.

@Nino-K
Copy link
Member

Nino-K commented Sep 27, 2024

I think linter is failing though.

@Nino-K Nino-K merged commit 28d0ada into rancher-sandbox:main Sep 27, 2024
17 checks passed
@mook-as mook-as deleted the guestagent-hostip-clarification branch October 2, 2024 18:53
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