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 2017/09/03 22:41:53 UTC

[1/3] libcloud git commit: typo in documentation

Repository: libcloud
Updated Branches:
  refs/heads/trunk 48bb90ee7 -> 8a9d3797d


typo in documentation

Smallest typo fix.
Closes #1097


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

Branch: refs/heads/trunk
Commit: dad12ee3e6150697ad603bd91d6fb68cd89f51d3
Parents: 48bb90e
Author: Yaniv Kaul <yk...@redhat.com>
Authored: Tue Aug 29 18:55:58 2017 +0300
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Sep 4 08:38:23 2017 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/libvirt_driver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dad12ee3/libcloud/compute/drivers/libvirt_driver.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/libvirt_driver.py b/libcloud/compute/drivers/libvirt_driver.py
index a914c5e..f2ccfc5 100644
--- a/libcloud/compute/drivers/libvirt_driver.py
+++ b/libcloud/compute/drivers/libvirt_driver.py
@@ -411,7 +411,7 @@ class LibvirtNodeDriver(NodeDriver):
         Sets up the regexp for parsing out IP addresses from the 'ip neighbor'
         command and pass it along to the parser function.
 
-        :return: Dictionary from the parsing funtion
+        :return: Dictionary from the parsing function
         :rtype: ``dict``
         """
         ip_regex = re.compile('(.*?)\s+.*lladdr\s+(.*?)\s+')


[3/3] libcloud git commit: "changes for #1099""

Posted by an...@apache.org.
"changes for #1099""


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

Branch: refs/heads/trunk
Commit: 8a9d3797d08b98378ee1a5909381429ed449b872
Parents: d47adca
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Sep 4 08:41:47 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Sep 4 08:41:47 2017 +1000

----------------------------------------------------------------------
 CHANGES.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8a9d3797/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 92ee3df..84ddf99 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,6 +1,16 @@
 Changelog
 =========
 
+Changes in current version of Apache Libcloud
+---------------------------------------------
+
+Compute
+~~~~~~~
+
+- [EC2] add 'end' to ec2 reserved_node
+  [GITHUB-1099]
+  (@xofer)
+
 Changes in Apache Libcloud 2.2.0
 --------------------------------
 


[2/3] libcloud git commit: add 'end' to ec2 reserved_node Closes #1099

Posted by an...@apache.org.
add 'end' to ec2 reserved_node
Closes #1099


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

Branch: refs/heads/trunk
Commit: d47adca1be13aceb909217104f061d89c1d99da1
Parents: dad12ee
Author: xofer <ch...@parsely.com>
Authored: Wed Aug 30 16:15:48 2017 -0400
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Sep 4 08:40:31 2017 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py                                  | 4 ++++
 .../test/compute/fixtures/ec2/describe_reserved_instances.xml    | 1 +
 libcloud/test/compute/test_ec2.py                                | 1 +
 3 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d47adca1/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index f2526b0..2a5ed4c 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -2765,6 +2765,10 @@ RESOURCE_EXTRA_ATTRIBUTES_MAP = {
             'xpath': 'start',
             'transform_func': str
         },
+        'end': {
+            'xpath': 'end',
+            'transform_func': str
+        },
         'duration': {
             'xpath': 'duration',
             'transform_func': int

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d47adca1/libcloud/test/compute/fixtures/ec2/describe_reserved_instances.xml
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/fixtures/ec2/describe_reserved_instances.xml b/libcloud/test/compute/fixtures/ec2/describe_reserved_instances.xml
index 29d7f3f..6c5ac71 100644
--- a/libcloud/test/compute/fixtures/ec2/describe_reserved_instances.xml
+++ b/libcloud/test/compute/fixtures/ec2/describe_reserved_instances.xml
@@ -6,6 +6,7 @@
             <instanceType>t1.micro</instanceType>
             <availabilityZone>us-east-1b</availabilityZone>
             <start>2013-06-18T12:07:53.161Z</start>
+            <end>2014-06-18T12:07:53.161Z</end>
             <duration>31536000</duration>
             <fixedPrice>23.0</fixedPrice>
             <usagePrice>0.012</usagePrice>

http://git-wip-us.apache.org/repos/asf/libcloud/blob/d47adca1/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py
index f8a2687..1fe4183 100644
--- a/libcloud/test/compute/test_ec2.py
+++ b/libcloud/test/compute/test_ec2.py
@@ -282,6 +282,7 @@ class EC2Tests(LibcloudTestCase, TestCaseMixin):
         self.assertEqual(node.extra['instance_type'], 't1.micro')
         self.assertEqual(node.extra['availability'], 'us-east-1b')
         self.assertEqual(node.extra['start'], '2013-06-18T12:07:53.161Z')
+        self.assertEqual(node.extra['end'], '2014-06-18T12:07:53.161Z')
         self.assertEqual(node.extra['duration'], 31536000)
         self.assertEqual(node.extra['usage_price'], 0.012)
         self.assertEqual(node.extra['fixed_price'], 23.0)