Skip to content

Commit

Permalink
Merge pull request #7557 from mook-as/guestagent-hostip-clarification
Browse files Browse the repository at this point in the history
Guest agent: Add comment about host address
  • Loading branch information
Nino-K authored Sep 27, 2024
2 parents f60d39d + 7ffb6e2 commit 28d0ada
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/go/guestagent/pkg/types/portmapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
// listed refers to the machine running the VM, i.e. the Windows machine.
Ports nat.PortMap `json:"ports"`
// ConnectAddrs lists the backend addresses for connections
// ConnectAddrs lists the backend addresses for connections; the addresses are recorded
// in terms of the network namespace the container engine is running in (i.e. the
// "Rancher Desktop" network namespace).
ConnectAddrs []ConnectAddrs `json:"connectAddrs"`
}

Expand Down

0 comments on commit 28d0ada

Please sign in to comment.