Repository: libcloud Updated Branches: refs/heads/trunk 7f0ece529 -> aecdba69a
Added volume type to EC2 volume extra Closes #680 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/aecdba69 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/aecdba69 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/aecdba69 Branch: refs/heads/trunk Commit: aecdba69a7c4bd27d4a1497969ecd9c7749cd4dc Parents: 7f0ece5 Author: Hennadii Stas <uty.arrg...@gmail.com> Authored: Mon Jan 11 16:19:37 2016 +0200 Committer: anthony-shaw <anthony.p.s...@gmail.com> Committed: Wed Jan 13 15:13:16 2016 +1100 ---------------------------------------------------------------------- libcloud/compute/drivers/ec2.py | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/aecdba69/libcloud/compute/drivers/ec2.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py index 0d41443..e3b85a2 100644 --- a/libcloud/compute/drivers/ec2.py +++ b/libcloud/compute/drivers/ec2.py @@ -2276,6 +2276,10 @@ RESOURCE_EXTRA_ATTRIBUTES_MAP = { 'delete': { 'xpath': 'attachmentSet/item/deleteOnTermination', 'transform_func': str + }, + 'type': { + 'xpath': 'volumeType', + 'transform_func': str } }, 'route_table': {