-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds public IP of LB to localIPs slice (#55)
* Adds public IP of LB to localIPs slice Virtual machines will be part of managed instance groups, which sit behind a pass-through TCP load balancer. In such cases, packets arriving to the machine from the load balancer will have a destination address of the load balancer's public IP, which is not a local address on the machine. Without these changes uuid-annotator will refuse to annoate a connection, since it doesn't recognize either the Src of Dest IP address as being its own (annotate.FindDirection() fails). These changes cause siteannotator.New() to append the public IP address from siteinfo to localIPs if it is a virtual machine. * Fixes a typo in a comment
- Loading branch information
Showing
4 changed files
with
82 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters