You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/12/27 08:40:16 UTC
[1/4] libcloud git commit: Allow multiple preemptible instances to be
created
Repository: libcloud
Updated Branches:
refs/heads/trunk 8570675d8 -> 774ffde90
Allow multiple preemptible instances to be created
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e384ce79
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e384ce79
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e384ce79
Branch: refs/heads/trunk
Commit: e384ce79779050feeb7eb1f810dca33127a70217
Parents: 8570675
Author: John Baublitz <jo...@cambridgesemantics.com>
Authored: Wed Nov 9 12:21:49 2016 -0500
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Dec 27 19:39:08 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/gce.py | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e384ce79/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 9412c0e..233ada7 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -4448,7 +4448,8 @@ class GCENodeDriver(NodeDriver):
ex_service_accounts=None, timeout=DEFAULT_TASK_COMPLETION_TIMEOUT,
description=None, ex_can_ip_forward=None, ex_disks_gce_struct=None,
ex_nic_gce_struct=None, ex_on_host_maintenance=None,
- ex_automatic_restart=None, ex_image_family=None):
+ ex_automatic_restart=None, ex_image_family=None,
+ ex_preemptible=None):
"""
Create multiple nodes and return a list of Node objects.
@@ -4581,6 +4582,12 @@ class GCENodeDriver(NodeDriver):
:return: A list of Node objects for the new nodes.
:rtype: ``list`` of :class:`Node`
+
+ :keyword ex_preemptible: Defines whether the instance is preemptible.
+ (If not supplied, the instance will
+ not be preemptible)
+ :type ex_preemptible: ``bool`` or ``None``
+
"""
if image and ex_disks_gce_struct:
raise ValueError("Cannot specify both 'image' and "
@@ -4627,7 +4634,8 @@ class GCENodeDriver(NodeDriver):
'ex_disks_gce_struct': ex_disks_gce_struct,
'ex_nic_gce_struct': ex_nic_gce_struct,
'ex_on_host_maintenance': ex_on_host_maintenance,
- 'ex_automatic_restart': ex_automatic_restart}
+ 'ex_automatic_restart': ex_automatic_restart,
+ 'ex_preemptible': ex_preemptible}
# List for holding the status information for disk/node creation.
status_list = []
@@ -7639,7 +7647,8 @@ class GCENodeDriver(NodeDriver):
ex_nic_gce_struct=node_attrs['ex_nic_gce_struct'],
ex_on_host_maintenance=node_attrs['ex_on_host_maintenance'],
ex_automatic_restart=node_attrs['ex_automatic_restart'],
- ex_subnetwork=node_attrs['subnetwork'])
+ ex_subnetwork=node_attrs['subnetwork'],
+ ex_preemptible=node_attrs['ex_preemptible'])
try:
node_res = self.connection.request(request, method='POST',
[3/4] libcloud git commit: Fix identation problems in docs
Posted by an...@apache.org.
Fix identation problems in docs
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/631070e5
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/631070e5
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/631070e5
Branch: refs/heads/trunk
Commit: 631070e57b4d6b9eb543a28cc3662affde8f4f48
Parents: 808118c
Author: John Baublitz <jo...@cambridgesemantics.com>
Authored: Tue Nov 29 11:42:27 2016 -0500
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Dec 27 19:39:09 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/gce.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/631070e5/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index e0f3e83..581f1e5 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -4536,12 +4536,12 @@ class GCENodeDriver(NodeDriver):
:type description: ``str`` or ``None``
:keyword ex_can_ip_forward: Set to ``True`` to allow this node to
- send/receive non-matching src/dst packets.
+ send/receive non-matching src/dst packets.
:type ex_can_ip_forward: ``bool`` or ``None``
:keyword ex_preemptible: Defines whether the instance is preemptible.
- (If not supplied, the instance will
- not be preemptible)
+ (If not supplied, the instance will
+ not be preemptible)
:type ex_preemptible: ``bool`` or ``None``
:keyword ex_disks_gce_struct: Support for passing in the GCE-specific
[2/4] libcloud git commit: Fix for documentation
Posted by an...@apache.org.
Fix for documentation
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/808118c8
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/808118c8
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/808118c8
Branch: refs/heads/trunk
Commit: 808118c88fa81b320a5ef77572ee9fc017ddb08d
Parents: e384ce7
Author: John Baublitz <jo...@cambridgesemantics.com>
Authored: Tue Nov 29 11:00:18 2016 -0500
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Dec 27 19:39:09 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/gce.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/808118c8/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 233ada7..e0f3e83 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -4539,6 +4539,11 @@ class GCENodeDriver(NodeDriver):
send/receive non-matching src/dst packets.
:type ex_can_ip_forward: ``bool`` or ``None``
+ :keyword ex_preemptible: Defines whether the instance is preemptible.
+ (If not supplied, the instance will
+ not be preemptible)
+ :type ex_preemptible: ``bool`` or ``None``
+
:keyword ex_disks_gce_struct: Support for passing in the GCE-specific
formatted disks[] structure. No attempt
is made to ensure proper formatting of
@@ -4583,11 +4588,6 @@ class GCENodeDriver(NodeDriver):
:return: A list of Node objects for the new nodes.
:rtype: ``list`` of :class:`Node`
- :keyword ex_preemptible: Defines whether the instance is preemptible.
- (If not supplied, the instance will
- not be preemptible)
- :type ex_preemptible: ``bool`` or ``None``
-
"""
if image and ex_disks_gce_struct:
raise ValueError("Cannot specify both 'image' and "
[4/4] libcloud git commit: change for #954
Posted by an...@apache.org.
change for #954
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/774ffde9
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/774ffde9
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/774ffde9
Branch: refs/heads/trunk
Commit: 774ffde904e128cbadc4a1bc026e4c8736a92698
Parents: 631070e
Author: Anthony Shaw <an...@apache.org>
Authored: Tue Dec 27 19:40:11 2016 +1100
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue Dec 27 19:40:11 2016 +1100
----------------------------------------------------------------------
CHANGES.rst | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/774ffde9/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index ae56981..4ffdc0e 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -15,6 +15,10 @@ Common
Compute
~~~~~~~
+- [gce] Allow multiple preemptible instances to be created
+ [GITHUB-954]
+ (John Baublitz)
+
- [openstack] Add new Connection class to support VOMS proxys to keystone servers
[GITHUB-959]
(micafer)