Descriptionec2: Add VPC NetworkInterface-related APIs
Added the following new API calls:
- CreateNetworkInterface
- DeleteNetworkInterface
- NetworkInterfaces
- AttachNetworkInterface
- DetachNetworkInterface
(and related types/responses)
Modified existing calls/types:
- SecurityGroupInfo now includes VPCId field
- Add CreateSecurityGroupVPC call that does
the same as CreateSecurityGroup, but sets
the VPCId, to create a VPC group
This enables us to handle VPC NICs with
goamz and partially handle private IP
addresses for them. Next, we'll add more
VPC-related stuff to Instances.
Tested live on EC2, extended ec2test package
as needed.
Added a couple of test helpers: createSubnet,
and deleteSubnets, used to make sure we wait
for the events to happen when running against
live EC2 servers, and we don't leave stuff
around after the tests. With these the live
tests pass and clean up properly.
https://code.launchpad.net/~dimitern/goamz/nic-api-calls/+merge/204912
Requires: https://code.launchpad.net/~dimitern/goamz/subnets-api-calls/+merge/204640
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : ec2: Add VPC NetworkInterface-related APIs #
Total comments: 14
Patch Set 3 : ec2: Add VPC NetworkInterface-related APIs #Patch Set 4 : ec2: Add VPC NetworkInterface-related APIs #
Total comments: 16
Patch Set 5 : ec2: Add VPC NetworkInterface-related APIs #
MessagesTotal messages: 7
|