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/04/01 22:57:12 UTC

[1/4] libcloud git commit: Fix Public IP not assigned when creating NIC on Azure ARM Closes #1013

Repository: libcloud
Updated Branches:
  refs/heads/trunk cab68602c -> 4c9d0333a


Fix Public IP not assigned when creating NIC on Azure ARM
Closes #1013


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

Branch: refs/heads/trunk
Commit: 3baa15badbd5c62b43366a6357a151cdb6d444c0
Parents: cab6860
Author: ripa1993 <si...@gmail.com>
Authored: Thu Mar 23 16:11:21 2017 +0100
Committer: Anthony Shaw <an...@apache.org>
Committed: Sun Apr 2 08:50:20 2017 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/azure_arm.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3baa15ba/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 9084099..6143925 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -1013,7 +1013,8 @@ class AzureNodeDriver(NodeDriver):
         }
 
         if public_ip:
-            data["properties"]["ipConfigurations"][0]["publicIPAddress"] = {
+            ip_config = data["properties"]["ipConfigurations"][0]
+            ip_config["properties"]["publicIPAddress"] = {
                 "id": public_ip.id
             }
 


[2/4] libcloud git commit: changes for #1013

Posted by an...@apache.org.
changes for #1013


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

Branch: refs/heads/trunk
Commit: c0c38e4d5bc233bb220142451197fdbc74d77b34
Parents: 3baa15b
Author: Anthony Shaw <an...@apache.org>
Authored: Sun Apr 2 08:51:42 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Sun Apr 2 08:51:42 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c0c38e4d/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index d5cf5df..61919e0 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -19,6 +19,10 @@ Common
 Compute
 ~~~~~~~
 
+- Fix Public IP not assigned when creating NIC on Azure ARM
+  [GITHUB-1013] [LIBCLOUD-906]
+  (Simone Ripamonti)
+
 - [ONAPP] Add list images support for OnApp driver
   [GITHUB-1011]
   (Tinu Cleatus)


[3/4] libcloud git commit: Force detaching ec2 volume Closes #1007

Posted by an...@apache.org.
Force detaching ec2 volume
Closes #1007


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

Branch: refs/heads/trunk
Commit: e0f5fdd1aae321c78c75b14aa7e38e127cfe4c98
Parents: c0c38e4
Author: mermoldy <s....@scalr.com>
Authored: Wed Jan 11 01:28:34 2017 +0200
Committer: Anthony Shaw <an...@apache.org>
Committed: Sun Apr 2 08:55:52 2017 +1000

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e0f5fdd1/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 1c7a655..3cf637d 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -3622,11 +3622,13 @@ class BaseEC2NodeDriver(NodeDriver):
         self.connection.request(self.path, params=params)
         return True
 
-    def detach_volume(self, volume):
+    def detach_volume(self, volume, ex_force=False):
         params = {
             'Action': 'DetachVolume',
             'VolumeId': volume.id}
 
+        if ex_force:
+            params['Force'] = 1
         self.connection.request(self.path, params=params)
         return True
 


[4/4] libcloud git commit: changes for #1007

Posted by an...@apache.org.
changes for #1007


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

Branch: refs/heads/trunk
Commit: 4c9d0333af16d16cf937edb896bbf23c6f2d6c12
Parents: e0f5fdd
Author: Anthony Shaw <an...@apache.org>
Authored: Sun Apr 2 08:57:07 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Sun Apr 2 08:57:07 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/4c9d0333/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 61919e0..9b2b802 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -19,6 +19,10 @@ Common
 Compute
 ~~~~~~~
 
+- Add support for forcing detachment of EBS volumes to EC2 driver
+  [GITHUB-1007]
+  (Sergey Babak)
+
 - Fix Public IP not assigned when creating NIC on Azure ARM
   [GITHUB-1013] [LIBCLOUD-906]
   (Simone Ripamonti)