txawsteam team mailing list archive
-
txawsteam team
-
Mailing list archive
-
Message #00020
[Bug 415486] Re: Missing reservation representation
** Changed in: txaws
Importance: Undecided => Medium
** Changed in: txaws
Status: New => In Progress
** Changed in: txaws
Assignee: (unassigned) => Duncan McGreggor (oubiwann)
--
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