txawsteam team mailing list archive
-
txawsteam team
-
Mailing list archive
-
Message #00024
[Bug 415486] Re: Missing reservation representation
** Branch linked: lp:~oubiwann/txaws/415486-reservation-object
--
Missing reservation representation
https://bugs.launchpad.net/bugs/415486
You received this bug notification because you are a member of txAWS
Team, which is the registrant for txAWS.
Status in txAWS: Twisted Amazon: In Progress
Bug description:
Currently, txaws.ec2.client.EC2Client.describe_instances doesn't return an accurate representation of an XML instance response from Amazon. In particular, descibe_instances' callback (_parse_reservation) only returns the instance information (from the "instanceSet" XML tag). Instead of a list of instance objects, _parse_reservation should probably return a list of reservation objects.
In order to do this, a Reservation object needs to be created. This object should have the following attributes:
* reservation_id
* owner_id
* groups
* instances
References