Descriptionec2: Add support for AWS VPCs
Added the following new API calls:
- CreateVPC
- DeleteVPC
- VPCs
(and the associated types/responses).
Most new code is in vpc.go and vpc_test.go.
These are needed in order to support VPC-related
operations on EC2, which will come in later follow-ups.
Implementation complexity in ec2test package for the
new calls is minimal.
Some changes were needed in order to support these
and the upcoming API calls. For the new ones, AWS API
version 2013-10-15 (latest) is used, while for the
existing calls use the previous API version, as before
(2011-12-15).
Added tests, updated test doubles and tested live on
EC2.
After running the EC2 live tests numerous times, I
realized some tests are leaking security groups, so
I added a deleteGroups() tests helper that retries
to ensure all groups are deleted. Also improved the
VPC tests to include retrying as well, so the live
tests are more stable and clean up after themselves.
https://code.launchpad.net/~dimitern/goamz/vpc-api-calls/+merge/204514
Requires: https://code.launchpad.net/~dimitern/goamz/lp-1275406-lpcalserversuite-testinstanceinfo/+merge/204469
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 10
Patch Set 2 : ec2: Add support for AWS VPCs #Patch Set 3 : ec2: Add support for AWS VPCs #
Total comments: 2
Patch Set 4 : ec2: Add support for AWS VPCs #Patch Set 5 : ec2: Add support for AWS VPCs #
Total comments: 19
Patch Set 6 : ec2: Add support for AWS VPCs #
Total comments: 8
Patch Set 7 : ec2: Add support for AWS VPCs #
Total comments: 14
Patch Set 8 : ec2: Add support for AWS VPCs #
MessagesTotal messages: 13
|