GitHub user jbaublitz opened a pull request:
https://github.com/apache/libcloud/pull/954
Allow multiple preemptible instances to be created
## Changes Title (replace this with a logical title for your changes)
### Description
This change enables multiple nodes to be created as preemptible on Google
Cloud through the `ex_create_multiple_nodes` function call. Currently, this
parameter is supported in the underlying functions in libcloud called by
`ex_create_multiple_nodes` such as `_create_node_req` but the function itself
does not expose this parameter at the top level. This patch enables a cluster
of preemptible instances to be provisioned in parallel.
### Status
- 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)
- [X] Documentation
- [X] [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)
\cc @supertom @erjohnso
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jbaublitz/libcloud
ex_create_multiple_nodes_preempt
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/954.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 #954
----
commit 3f7a8ce9d07292687917a96ad71aec5c0f97543f
Author: John Baublitz <[email protected]>
Date: 2016-11-09T17:21:49Z
Allow multiple preemptible instances to be created
----
---
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.
---