Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIBCLOUD-494: Add image extension methods for create/copy #222

Closed
wants to merge 13 commits into from
Closed

LIBCLOUD-494: Add image extension methods for create/copy #222

wants to merge 13 commits into from

Conversation

cderamus
Copy link
Contributor

This PR adds new extension methods to copy AMIs between Amazon regions and also adds the ability to create an image from an EBS backed instance. Unit tests and new fixtures are included.

cderamus and others added 12 commits December 26, 2013 09:23
…mage calls. The first is ex_copy_image which is used to copy Amazon Machine Images between regions and the second is ex_create_image which can be used to create an AMI from an EBS backed instance.
@@ -1566,6 +1566,105 @@ def delete_key_pair(self, key_pair):
namespace=NAMESPACE)
return element == 'true'

def ex_copy_image(self, source_region, image, name=None, description=None):
"""
Copy an Amazon Machine Image from one region to another.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The to be more clear about what is going on, the description should probably say "Copy an Amazon Machine Image from the specified source region to the current region.".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

…is used for create_node and ex_create_image_from_node. Changed no_reboot -> reboot to make things a bit more clear within ex_create_image_from_node.
@Kami
Copy link
Member

Kami commented Jan 12, 2014

Fixed the build issue and merged patch into trunk. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants