GitHub user Kami opened a pull request:

    https://github.com/apache/libcloud/pull/189

    Promote key pair management functionality to be part of the base compute API

    This pull request promotes key pair management functionality to be part of 
the base compute API as discussed on the mailing list.
    
    It includes the following changes:
    
    * Add new `KeyPair` class in `libcloud.compute.base` module
    * Add new key pair management methods to `libcloud.compute.base.NodeDriver` 
class
    * Update existing drivers which previously exposed this functionality 
through the extension methods (EC2, CloudStack, OpenStack) to use a new 
standard API
    * For backward compatibility reasons and to ease the migration, existing 
extension methods will continue to work until a next major release (existing 
extension methods have been modified to call new methods which are now part of 
the standard API).
    * Add some missing tests (while working on this I have noticed there were 
some missing or bad tests for the key pair management functionality)
    * Update upgrade nodes section in the documentation
    * Add a new section on how to use key pair management to the documentation
    
    Only which currently exposes key pair management through extension methods 
and I haven't updated is NephoScale. The reason for that is that NephoScale 
offers two types of keys (password and ssh) and I haven't totally decided yet 
what I want to do with it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Kami/libcloud 
promote_key_pair_management_to_base_compute_api

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/189.patch

----
commit 502a7dcfcf96beac017202cb16956d7c2e3bb004
Author: Tomaz Muraus <[email protected]>
Date:   2013-12-06T14:24:21Z

    Add new KeyPair class and methods for the key pair management to the 
NodeDriver
    class.

commit 8573fc0b2c922809b77723488dc324e7734a34dd
Author: Tomaz Muraus <[email protected]>
Date:   2013-12-06T14:36:09Z

    Update existing compute drivers (OpenStack, CloudStack, EC2) which expose 
key
    pair management through the extension methods to expose it through a new
    standard key pair management API.
    
    Also update affected code and tests, deprecate existing extension methods 
and
    add some missing tests.
    
    Note: Old and now deprecated methods will work until a next major release.

commit 6637aad09d95bc32dc75c88c1239085d1a7b1822
Author: Tomaz Muraus <[email protected]>
Date:   2013-12-06T20:44:14Z

    docs: Update upgrade notes,  add a new section about key pair management
    and update existing docs.

----

Reply via email to