Re-add availability_zone

Signed-off-by: Tomaz Muraus <[email protected]>


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 <[email protected]>
Authored: Fri Feb 27 10:23:07 2015 +0100
Committer: Tomaz Muraus <[email protected]>
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:

Reply via email to