Updated Branches: refs/heads/trunk 508dfb479 -> 12b830889
Issue LIBCLOUD-389: Adds accessIPv4 value to the node_list results 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/12b83088 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/12b83088 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/12b83088 Branch: refs/heads/trunk Commit: 12b830889283ede2acf0d8a4ea874e755df33c9e Parents: 508dfb4 Author: Chris Johnson <[email protected]> Authored: Sun Sep 1 17:42:07 2013 +0000 Committer: Tomaz Muraus <[email protected]> Committed: Sun Sep 1 21:25:22 2013 +0200 ---------------------------------------------------------------------- libcloud/compute/drivers/openstack.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/12b83088/libcloud/compute/drivers/openstack.py ---------------------------------------------------------------------- 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'],
