libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erjoh...@apache.org
Subject [4/4] libcloud git commit: [google compute] Support Managed Instance Groups
Date Wed, 17 Aug 2016 13:37:37 GMT
[google compute] Support Managed Instance Groups

The following methods have been added (with supporting classes).

* gce.ex_get_instancetemplate(template)
* gce.ex_list_instancetemplates()
* gce.ex_get_instancegroupmgr(name, zone)
* gce.ex_list_instancegroupmgrs()
* gce.ex_create_instancegroupmgr(name, zone, template, size)
* gce.ex_destroy_instancegroupmgr(instance_group)

Basic AutoScaler support has also been added.

Tests and fixtures have also been added.  Some documentation, unrelated to this feature, has
also been fixed.

Closes #842

Signed-off-by: Eric Johnson <erjohnso@google.com>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/214677f4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/214677f4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/214677f4

Branch: refs/heads/trunk
Commit: 214677f455a581f6c8bb220b9e298734fc6fb8cb
Parents: c5b6fc2
Author: Tom Melendez <supertom@google.com>
Authored: Tue Jul 19 23:57:48 2016 +0000
Committer: Eric Johnson <erjohnso@google.com>
Committed: Wed Aug 17 13:36:54 2016 +0000

----------------------------------------------------------------------
 CHANGES.rst                                     |    4 +
 libcloud/compute/drivers/gce.py                 | 1295 ++++++++++++++----
 ...rs_myinstancegroup_listManagedInstances.json |   24 +
 .../fixtures/gce/aggregated_autoscalers.json    |  255 ++++
 .../gce/aggregated_instanceGroupManagers.json   |  277 ++++
 .../fixtures/gce/global_instanceTemplates.json  |   67 +
 ...instanceTemplates_my_instance_template1.json |   60 +
 ...nes_us-central1-a_instanceGroupManagers.json |   30 +
 ...central1-a_instanceGroupManagers_insert.json |   16 +
 ...a_instanceGroupManagers_myinstancegroup.json |   24 +
 ...entral1-a_instanceGroup_myinstancegroup.json |   14 +
 ...al1-a_instanceGroupManagers_insert_post.json |   16 +
 ...b_instanceGroupManagers_myinstancegroup.json |   24 +
 ...entral1-b_instanceGroup_myinstancegroup.json |   14 +
 .../zones_us-east1-b_instanceGroupManagers.json |   30 +
 ...s-east1-b_instanceGroup_myinstancegroup.json |   14 +
 libcloud/test/compute/test_gce.py               |  721 ++++++----
 17 files changed, 2379 insertions(+), 506 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/214677f4/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 8425c40..a055b5a 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,6 +17,10 @@ General
 Compute
 ~~~~~~~
 
+- [gce] Added Managed Instance Groups
+  (GITHUB-842)
+  [Tom Melendez]
+
 - [gce] Allow undeprecation of an image.
   (GITHUB-851)
   [Max Illfelder]


Mime
View raw message