commit | c06b64cf6556033a8f9fc72e12b239d85a1c2b56 | [log] [tgz] |
---|---|---|
author | Robin Thellend <rthellend@google.com> | Fri Jul 25 16:50:27 2014 -0700 |
committer | Robin Thellend <rthellend@google.com> | Fri Jul 25 16:50:29 2014 -0700 |
tree | 3277329a351fab13376ab99bffd2b5d435b7ca7d | |
parent | 8ef9b3ded09ba97e575ef7bfb72a5e4ca86b3b54 [diff] |
veyron/products/lib/gce: Add a library to detect GCE Add a library to detect if the current process is running on a GCE instance, and if it is, determine the external IP address to use. This is uses the GCE metadata API documented at https://developers.google.com/compute/docs/metadata Change-Id: I5de47506e8b244d9f42224aa29ba6bf91c011213