euca-describe-instance-attribute is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
New
|
Undecided
|
Mitch Garnaat |
Bug Description
euca-describe-
I attached the patch to implement it.
To make it work, I needed to patch boto.ec2.
I believe that eucalyptus maintainers also maintains boto too, so I also attached the boto patch here.
commit 43c58529e931187
Date: Mon Jul 4 17:50:09 2011 +0900
ec2/
This patch is needed for euca-describe-
diff --git a/boto/
index 8c21bad..1fabfab 100644
--- a/boto/
+++ b/boto/
@@ -378,16 +378,20 @@ class InstanceAttribu
def __init__(self, parent=None):
- self._current_value = None
+ self.block_
+ self.groups = []
def startElement(self, name, attrs, connection):
+ if name == 'blockDeviceMap
+ self['block_
+ return self['block_
+ elif name == 'groupSet':
+ self.groups = ResultSet([('item', Group)])
+ return self.groups
return None
def endElement(self, name, value, connection):
- if name == 'value':
- self._current_value = value
- else:
- self[name] = self._current_value
+ self[name] = value
class StateReason(dict):
Changed in euca2ools: | |
assignee: | nobody → Mitch Garnaat (mitch-garnaat) |
the patch for boto to make euca-describe- instance- attribute work