You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2015/03/04 23:37:06 UTC

[4/5] libcloud git commit: Re-add availability_zone

Re-add availability_zone

Signed-off-by: Tomaz Muraus <to...@apache.org>


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

Branch: refs/heads/trunk
Commit: eff4644ff4eed393bc82cb84306d3698e49aed43
Parents: 53f9917
Author: Allard Hoeve <al...@byte.nl>
Authored: Fri Feb 27 10:23:07 2015 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Wed Mar 4 23:30:13 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/eff4644f/libcloud/compute/drivers/openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py
index 313abab..34c41b1 100644
--- a/libcloud/compute/drivers/openstack.py
+++ b/libcloud/compute/drivers/openstack.py
@@ -177,7 +177,8 @@ class OpenStackNodeDriver(NodeDriver, OpenStackDriverMixin):
             'volume_type': None,
             'metadata': {
                 'contents': name,
-            }
+            },
+            'availability_zone': location
         }
 
         if snapshot: