GitHub user jcastillo2nd opened a pull request:
https://github.com/apache/libcloud/pull/537
LIBCLOUD-717 Implement v2 API request speed optimization and other châ¦
â¦anges
* Increased pagination to API maximum
* Added create_node parameter to support droplet features (backups, ipv6,
user_data, etc )
* Reorganized method groups for style
* Converted all list_* to paginated request
In large result sets, the API request was returning the default 25 results
per request, making it very slow in large sets.
https://issues.apache.org/jira/browse/LIBCLOUD-717
I have some doubts about the ex_create_attr, but this was done to support
selecting features. The prior parameter for ssh key selection/assignment was
kept, but updated to throw a deprecation warning.
I've also added an example of how the create_node is called with the
options.
I'm not sure about the rest documentation of the ex_create_attr dictionary
values, but I look foward to the review.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcastillo2nd/libcloud trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/537.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #537
----
commit 02a4177ce0ee357550e9c79f6cf80eb26d73f76a
Author: jcastillo2nd <[email protected]>
Date: 2015-06-25T07:31:38Z
LIBCLOUD-717 Implement v2 API request speed optimization and other changes
* Increased pagination to API maximum
* Added create_node parameter to support droplet features (backups, ipv6,
user_data, etc )
* Reorganized method groups for style
* Converted all list_* to paginated request
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---