4138: general GCE fixes
authorTim Pierce <twp@curoverse.com>
Wed, 21 Jan 2015 18:06:35 +0000 (13:06 -0500)
committerBrett Smith <brett@curoverse.com>
Tue, 17 Feb 2015 22:49:23 +0000 (17:49 -0500)
commit45fdc95efb2467b0ad7d21d82aa08b26a43cfaa0
tree73731c28af318f4f6fac0464b1920257a6517dc0
parentaf52e4975a52d4eeec356e5dd0ab4dbb5957ea28
4138: general GCE fixes

* JSON credential file
** GCE credentials are delivered as a JSON string (and the key is formatted as a multi-line RSA private key). Let the GCE config file specify a path to the JSON credential file for simplicity.
* Accept NodeSizes addressed by id or name
** In EC2, NodeSizes are identified by the 'id' field.  In GCE they are identified by the 'name' field.  Allow the Node Manager config module to accept either.
services/nodemanager/arvnodeman/computenode/driver/gce.py
services/nodemanager/arvnodeman/config.py
services/nodemanager/doc/gce.example.cfg