From bcbccce2ccf7b99b14c108c88e395ddc4160af49 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Sun, 1 Sep 2013 17:42:07 +0000 Subject: [PATCH] Issue LIBCLOUD-389: Adds accessIPv4 value to the node_list results --- libcloud/compute/drivers/openstack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py index 648d451..9cbaa5e 100644 --- a/libcloud/compute/drivers/openstack.py +++ b/libcloud/compute/drivers/openstack.py @@ -1716,6 +1716,7 @@ class OpenStack_1_1_NodeDriver(OpenStackNodeDriver): driver=self, extra=dict( hostId=api_node['hostId'], + access_ip=api_node.get('accessIPv4'), # Docs says "tenantId", but actual is "tenant_id". *sigh* # Best handle both. tenantId=api_node.get('tenant_id') or api_node['tenantId'], -- 1.7.10.4