Commit Graph

21 Commits

Author SHA1 Message Date
Simon Thulbourn
d0651d0273 Add --amazonec2-private-address-only
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-04-30 16:42:44 +01:00
Qicong Chen
9b577aabb6 Supports #226
Signed-off-by: Qicong Chen <qicongchen92@gmail.com>

Fix logging problem

Signed-off-by: Qicong Chen <qicongchen92@gmail.com>
2015-04-14 14:48:27 -04:00
Nathan LeClaire and Simon Thulborn
49feb33457 Implement majority of provisioning changes
Signed-off-by: Simon Thulborn <simon+github@thulborn.com>
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-20 16:30:46 -07:00
Nathan LeClaire
8d0bf21c6d Fix panic when instance doesn't exist remotely
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-03 14:48:04 -08:00
Nathan LeClaire
3a030c9ccb Clean up unused function
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-03 11:18:08 -08:00
Simon Thulbourn
2ce70bf5ac adds the ability to set an instance role for ec2 instances
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-03-02 19:01:22 +00:00
Evan Hazlett
32ed441fbb ec2: use filters for GetSubnets; check subnetId in PreCreate for driver
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-27 16:51:48 -05:00
Evan Hazlett
b8ab9300e1 Merge pull request #453 from nathanleclaire/coverage
Add structure to generate code coverage representation
2015-02-16 14:19:01 -08:00
Andrew Watson
87f944a761 Fixes panic caused by returning *resp when client.Do fails
Signed-off-by: Andrew Watson <andrew@ionicsecurity.com>
2015-02-06 15:12:02 -05:00
Nathan LeClaire
d1fdc87f54 Add structure to generate code coverage representation
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-02-02 13:41:42 -08:00
Evan Hazlett
57810b298d This adds a method to the Driver: PreCreateCheck. This can be used
where you want to run some prerequisite checks before attempting to
create
the machine.  In the case of EC2, this is a check for an existing
keypair.  This can be used in the other drivers in the future as well.

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-26 11:27:12 -05:00
Evan Hazlett
834fa414b4 allow specifying sg; re-use existing sg; fix race conditions with ip assigning and eventual consistency with sgs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-22 16:47:53 -05:00
Evan Hazlett
85f1cb9725 only authorize ec2 group if needed
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-22 16:47:52 -05:00
Evan Hazlett
ff1e232d83 use single group for ec2
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>

wip: use single sg

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-22 16:47:52 -05:00
Simon Thulbourn
1d958f5b63 change sign to ver 4 to support newer regions
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-14 23:17:54 +00:00
Evan Hazlett
c2f1fea9dc Merge pull request #219 from sthulb/hostnames
Hostnames
2015-01-14 09:31:43 -05:00
Simon Thulbourn
a70e8462cb adds support for AWS IAM roles
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-13 18:16:43 +00:00
Simon Thulbourn
861b16dba9 add machine name to VM name and hostname
This work sets the machine name in the Cloud API or Hypervisor. As well
as setting the hostname inside the VM.

I've added the machine name to the NewDriver func to allow for
identification by Cloud APIs and for the driver package.

Each driver will attempt to set the hostname for the VM, except for
Azure, which sets it based on the DNS name.

Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>
2015-01-12 16:46:00 +00:00
Nathan LeClaire
6c889c3864 Fix a few things caught by go vet
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-16 14:21:44 -08:00
Evan Hazlett
cb8a951bb8 added better error reporting
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:48:49 -05:00
Evan Hazlett
909e69baff initial work on aws for machine; huge thanks to @nathanleclaire for the
initial implementation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2014-12-12 17:00:57 -05:00