You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/02 23:36:00 UTC
[jira] [Commented] (LIBCLOUD-1002) Allow GCE driver to create_node
from InstanceTemplate
[ https://issues.apache.org/jira/browse/LIBCLOUD-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530576#comment-16530576 ]
ASF GitHub Bot commented on LIBCLOUD-1002:
------------------------------------------
GitHub user rojopolis opened a pull request:
https://github.com/apache/libcloud/pull/1222
[LIBCLOUD-1002] Instance template support for GCE create_node
## Instance template support for GCE create_node
### Allows Nodes to be created from GCE Instance Templates
This change allows Nodes to be created from predefined Instance Templates in GCE.
This is useful in a number of scenarios:
* Organizational standards are implemented with Templates.
* etc.
The attributes specified in the call to create_node will take precedence over those defined in the template (per provider documentation).
#### Provider docs:
- https://cloud.google.com/compute/docs/reference/rest/v1/instances/insert
- https://cloud.google.com/compute/docs/instances/create-vm-from-instance-template
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
- [x] 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/rojopolis/libcloud LIBCLOUD-1002_gce_source_instance_template
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/1222.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 #1222
----
commit ba1ce31771b8691af864d7e3585e0778ab685843
Author: Robert Jordan <ro...@...>
Date: 2018-07-02T23:08:39Z
[LIBCLOUD-1002] Add support for creating GCE instances from template
commit 8f64453561e9b3b8e7306223304f165b15595c7f
Author: Robert Jordan <rj...@...>
Date: 2018-07-02T23:27:48Z
[LIBCLOUD-1002] Add support for creating GCE instances from template
----
> Allow GCE driver to create_node from InstanceTemplate
> -----------------------------------------------------
>
> Key: LIBCLOUD-1002
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-1002
> Project: Libcloud
> Issue Type: Improvement
> Components: Compute
> Reporter: Robert Jordan
> Priority: Trivial
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> As a user of libcloud GCE driver I would like to be able to create nodes based off of a predefined GCE instance template.
> https://cloud.google.com/compute/docs/instances/create-vm-from-instance-template
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)