GitHub user mgogoulos opened a pull request:
https://github.com/apache/libcloud/pull/987
packet.net optimizations
## packet.net optimizations
### Description
- Use multiprocessing to get nodes without specifying project_id
Function list_nodes can also receive a project_id and return node on this
project, but if called without one it will fetch nodes on all projects
- fix list_sizes to return only server sizes (now it contains other items,
as storage)
- provide cloud_init on create_node
- add functions ex_start_node and ex_stop_node
- add extra metadata on list_nodes
- add Project object with information for the Project
- add ex_list_projects function
### Status
done, ready for review
### Checklist (tick everything that applies)
- [ ] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgogoulos/libcloud packet.net_opts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/987.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 #987
----
commit 0b8d59b208b6a654674def656d4241b4a48dce9b
Author: Markos Gogoulos <[email protected]>
Date: 2017-02-15T16:17:37Z
packet.net optimizations
commit 8800e7adf304c33b27e0df666fc0a5a4e2db26f1
Author: Markos Gogoulos <[email protected]>
Date: 2017-02-15T16:29:59Z
pep8 packet.net
----
---
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.
---