~surma/goamz/put-headers

Viewing all changes in revision 41.

  • Committer: Martin Packman
  • Date: 2013-10-03 12:09:35 UTC
  • mfrom: (40.1.1 secgroups_on_instance)
  • Revision ID: martin.packman@canonical.com-20131003120935-smsyely2yx1vsisr
ec2: Support groups at instance and reservation

Per the 2011-12-15 wsdl description of the EC2 api, the
GroupSetType containing security group details appears
on both ReservationInfoType and RunningInstancesSetType
inside it.

This branch updates the code to parse the details at both
levels in a RunInstances or DescribeInstances response,
and updates the mock server to return the same details
at both levels.

Change is required as it seems the reservation group set
is empty, while the instance group set is not in some
circumstances.

R=rog
CC=
https://codereview.appspot.com/14302043

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: