-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add GCE fingerprinting functionality #215
Commits on Oct 5, 2015
-
Fingerprinting code for GCE nodes
This reads the following: * hostname * instance id * machine-type * zone * internal IP * external IP (if any) * tags * attributes Atributes are placed under the platform.gce.attr.* hierarchy. Tags are set up as platform.gce.tag.TagName=true.
Configuration menu - View commit details
-
Copy full SHA for 9faa553 - Browse repository at this point
Copy the full SHA 9faa553View commit details -
isAWS should return false on GCE
GCE and AWS both expose metadata servers, and GCE's 404 response includes the URL in the content, which maatches the regex. So, check the response code as well and if a 4xx code comes back, take that to meanit's not AWS.
Configuration menu - View commit details
-
Copy full SHA for 444d6f6 - Browse repository at this point
Copy the full SHA 444d6f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 458adfa - Browse repository at this point
Copy the full SHA 458adfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69ec26e - Browse repository at this point
Copy the full SHA 69ec26eView commit details -
Consolidate GCEMetadataClient into EnvGCEFingerprint
This allows easier reuse of the same client across multiple functions.
Configuration menu - View commit details
-
Copy full SHA for 983e851 - Browse repository at this point
Copy the full SHA 983e851View commit details
Commits on Oct 7, 2015
-
NonXXX tests should pass when actually running in their respective en…
…vironments. Fixes hashicorp#224
Configuration menu - View commit details
-
Copy full SHA for a55bdd3 - Browse repository at this point
Copy the full SHA a55bdd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f985ef4 - Browse repository at this point
Copy the full SHA f985ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79531fe - Browse repository at this point
Copy the full SHA 79531feView commit details -
Parse information for all GCE network interface.
* No longer setting Device name in the network interface since we can't match up the info here with real device names. * Add attributes for all external IPs if more than one exists.
Configuration menu - View commit details
-
Copy full SHA for a95cedb - Browse repository at this point
Copy the full SHA a95cedbView commit details
Commits on Oct 9, 2015
-
Add a few more GCE-specific attributes:
* cpu-platform * scheduling.automatic-restart * scheduling.on-host-maintenance * network.NETWORKNAME=true
Configuration menu - View commit details
-
Copy full SHA for 6acdd9d - Browse repository at this point
Copy the full SHA 6acdd9dView commit details -
GCE fingerprinter no longer updates network resources
It has nothing to add that the generic fingerprinters aren't finding on their own already.
Configuration menu - View commit details
-
Copy full SHA for 203906b - Browse repository at this point
Copy the full SHA 203906bView commit details
Commits on Oct 12, 2015
-
Configuration menu - View commit details
-
Copy full SHA for c43978b - Browse repository at this point
Copy the full SHA c43978bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 263c5f5 - Browse repository at this point
Copy the full SHA 263c5f5View commit details