[2/2] libcloud git commit: Add changes for #1159
Add changes for #1159 Closes #1159 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a39c4e25 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a39c4e25 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a39c4e25 Branch: refs/heads/trunk Commit: a39c4e25404202c5446aed99c4a0fb61bf63dc75 Parents: 2787407 Author: Quentin Pradet Authored: Fri Jan 5 10:13:33 2018 +0400 Committer: Quentin Pradet Committed: Fri Jan 5 10:13:33 2018 +0400 -- CHANGES.rst | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/libcloud/blob/a39c4e25/CHANGES.rst -- diff --git a/CHANGES.rst b/CHANGES.rst index 54569c8..c31f54b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -36,6 +36,9 @@ Compute - [EC2] Add AWS EC2 c5 series (GITHUB-1147) [Anthony Monthe] +- [EC2] Add AWS EC2 M5 sizes (GITHUB-1159) + [Anthony Monthe] + - [EC2] Update pricing information for EC2 instances. [Tomaz Muraus]
[GitHub] libcloud pull request #1159: Added EC2 M5 sizes
Github user asfgit closed the pull request at: https://github.com/apache/libcloud/pull/1159 ---
[1/2] libcloud git commit: Added EC2 M5 sizes
Repository: libcloud Updated Branches: refs/heads/trunk a03877af9 -> a39c4e254 Added EC2 M5 sizes Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2787407a Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2787407a Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2787407a Branch: refs/heads/trunk Commit: 2787407ab31163b586810a92f050a4d88bec4ed7 Parents: a03877a Author: Anthony Monthe Authored: Thu Jan 4 13:28:38 2018 + Committer: Anthony Monthe Committed: Thu Jan 4 13:28:38 2018 + -- libcloud/compute/drivers/ec2.py | 78 ++ libcloud/test/compute/test_ec2.py | 6 +-- 2 files changed, 81 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/libcloud/blob/2787407a/libcloud/compute/drivers/ec2.py -- diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py index c6d5065..e225383 100644 --- a/libcloud/compute/drivers/ec2.py +++ b/libcloud/compute/drivers/ec2.py @@ -292,6 +292,66 @@ INSTANCE_TYPES = { 'cpu': 64 } }, +'m5.large': { +'id': 'm5.large', +'name': 'Large Instance', +'ram': GiB(8), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 2 +} +}, +'m5.xlarge': { +'id': 'm5.xlarge', +'name': 'Extra Large Instance', +'ram': GiB(16), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 4 +} +}, +'m5.2xlarge': { +'id': 'm5.2xlarge', +'name': 'Double Extra Large Instance', +'ram': GiB(32), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 8 +} +}, +'m5.4xlarge': { +'id': 'm5.4xlarge', +'name': 'Quadruple Extra Large Instance', +'ram': GiB(64), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 16 +} +}, +'m5.12xlarge': { +'id': 'm5.12xlarge', +'name': '12 Extra Large Instance', +'ram': GiB(192), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 48 +} +}, +'m5.24xlarge': { +'id': 'm5.24xlarge', +'name': '24 Extra Large Instance', +'ram': GiB(384), +'disk': 0, # EBS only +'bandwidth': None, +'extra': { +'cpu': 96 +} +}, 'cg1.4xlarge': { 'id': 'cg1.4xlarge', 'name': 'Cluster GPU Quadruple Extra Large Instance', @@ -969,6 +1029,12 @@ REGION_DETAILS = { 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge', +'m5.large', +'m5.xlarge', +'m5.2xlarge', +'m5.4xlarge', +'m5.12xlarge', +'m5.24xlarge', 'c1.medium', 'c1.xlarge', 'cc2.8xlarge', @@ -1213,6 +1279,12 @@ REGION_DETAILS = { 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge', +'m5.large', +'m5.xlarge', +'m5.2xlarge', +'m5.4xlarge', +'m5.12xlarge', +'m5.24xlarge', 'c1.medium', 'c1.xlarge', 'g2.2xlarge', @@ -1295,6 +1367,12 @@ REGION_DETAILS = { 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge', +'m5.large', +'m5.xlarge', +'m5.2xlarge', +'m5.4xlarge', +'m5.12xlarge', +'m5.24xlarge', 'c1.medium', 'c1.xlarge', 'g2.2xlarge', http://git-wip-us.apache.org/repos/asf/libcloud/blob/2787407a/libcloud/test/compute/test_ec2.py -- diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py index 0c96a53..17f293e 100644 --- a/libcloud/test/compute/test_ec2.py +++ b/libcloud/test/compute/test_ec2.py @@ -448,7 +448,7 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin): self.assertTrue('m2.4xlarge' in ids) if region_name == 'us-east-1': -self.assertEqual(len(sizes), 78) +self.assertEqual(len(sizes), 84) self.assertTrue('cg1.4xlarge' in ids) self.assertTrue('cc2.8xlarge' in ids) self.assertTrue('cr1.8xlarge' in ids) @@ -456,13 +456,13 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin): elif region_name == 'us-west-1': self.assertEqual(len(sizes), 67) if region_name == 'us-west-
[jira] [Commented] (LIBCLOUD-809) GCE deploy_node function should accept all the same parameters as create_node
[ https://issues.apache.org/jira/browse/LIBCLOUD-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312468#comment-16312468 ] ASF GitHub Bot commented on LIBCLOUD-809: - GitHub user spyrdzy reopened a pull request: https://github.com/apache/libcloud/pull/1155 Fixes Apache LIBCLOUD-809 ## Changes Fixes Apache LIBCLOUD-809 ### Description Merged variables and docstrings for deploy_node to meet features added to create_node. Reference link: https://issues.apache.org/jira/browse/LIBCLOUD-809 ### 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/spyrdzy/libcloud 809 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/1155.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 #1155 commit ce3d727fd7661546e4cc49a9481f0f9cde432b16 Author: Alexander Spyrdz Date: 2017-12-15T05:35:24Z deploy_node has variable parity with create_node. commit 0e6bd6c61754bda04906e92b1c9b4bd26b2e5fa9 Author: Alexander Spyrdz Date: 2018-01-05T02:42:09Z Merge branch 'trunk' into 809 > GCE deploy_node function should accept all the same parameters as create_node > - > > Key: LIBCLOUD-809 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-809 > Project: Libcloud > Issue Type: Improvement > Components: Compute >Reporter: Joshua Buss > > I can't figure out if deploy_node has been built the way it has for some > reason, but in my use case I'd like to use deploy_node because I have a > script to run but I also want to set the preemptive flag and external IP, > which are available in create_node but not deploy_node for some reason. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (LIBCLOUD-809) GCE deploy_node function should accept all the same parameters as create_node
[ https://issues.apache.org/jira/browse/LIBCLOUD-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312467#comment-16312467 ] ASF GitHub Bot commented on LIBCLOUD-809: - Github user spyrdzy closed the pull request at: https://github.com/apache/libcloud/pull/1155 > GCE deploy_node function should accept all the same parameters as create_node > - > > Key: LIBCLOUD-809 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-809 > Project: Libcloud > Issue Type: Improvement > Components: Compute >Reporter: Joshua Buss > > I can't figure out if deploy_node has been built the way it has for some > reason, but in my use case I'd like to use deploy_node because I have a > script to run but I also want to set the preemptive flag and external IP, > which are available in create_node but not deploy_node for some reason. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] libcloud pull request #1155: Fixes Apache LIBCLOUD-809
Github user spyrdzy closed the pull request at: https://github.com/apache/libcloud/pull/1155 ---
[GitHub] libcloud pull request #1155: Fixes Apache LIBCLOUD-809
GitHub user spyrdzy reopened a pull request: https://github.com/apache/libcloud/pull/1155 Fixes Apache LIBCLOUD-809 ## Changes Fixes Apache LIBCLOUD-809 ### Description Merged variables and docstrings for deploy_node to meet features added to create_node. Reference link: https://issues.apache.org/jira/browse/LIBCLOUD-809 ### 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/spyrdzy/libcloud 809 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/1155.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 #1155 commit ce3d727fd7661546e4cc49a9481f0f9cde432b16 Author: Alexander Spyrdz Date: 2017-12-15T05:35:24Z deploy_node has variable parity with create_node. commit 0e6bd6c61754bda04906e92b1c9b4bd26b2e5fa9 Author: Alexander Spyrdz Date: 2018-01-05T02:42:09Z Merge branch 'trunk' into 809 ---
[GitHub] libcloud pull request #1159: Added EC2 M5 sizes
GitHub user ZuluPro opened a pull request: https://github.com/apache/libcloud/pull/1159 Added EC2 M5 sizes ## Added EC2 M5 sizes ### Description See: https://aws.amazon.com/about-aws/whats-new/2017/11/introducing-amazon-ec2-m5-instances/?nc1=h_ls https://aws.amazon.com/ec2/instance-types/m5/?nc1=h_ls ### Status Replace this: describe the PR status. Examples: Done ### 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/ZuluPro/libcloud m5 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/1159.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 #1159 commit 2787407ab31163b586810a92f050a4d88bec4ed7 Author: Anthony Monthe Date: 2018-01-04T13:28:38Z Added EC2 M5 sizes ---
[GitHub] libcloud pull request #1158: Update Google Compute Engine docs
GitHub user Kami opened a pull request: https://github.com/apache/libcloud/pull/1158 Update Google Compute Engine docs It looks like some of the links have changed (the one previously documented doesn't take you to the correct place anymore). This pull request updates the docs to use new and working link and also adds some screenshot for people not familiar with GCE console. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Kami/libcloud gce_improved_docs Alternatively you can review and apply these changes as the patch at: https://github.com/apache/libcloud/pull/1158.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 #1158 commit 4e7307878789ce0a3a0cb2ca6aa6191a2dc88e87 Author: Tomaz Muraus Date: 2018-01-04T09:25:30Z Update GCE docs - use new links, add screenshots. ---