Mismatch dictionary key in the process of parsing XML
Should be:
'addr': child.get('version') -> 'addr': child.get('addr'),
in the _parse_network method of servers_client.py
Change-Id: Ida6cf5ce5b2b5b89b5fadb7705798fe44a913a33
Closes-Bug: #1214198
diff --git a/tempest/services/compute/xml/servers_client.py b/tempest/services/compute/xml/servers_client.py
index 12e7034..5c7a629 100644
--- a/tempest/services/compute/xml/servers_client.py
+++ b/tempest/services/compute/xml/servers_client.py
@@ -350,7 +350,7 @@
addrs = []
for child in node.getchildren():
addrs.append({'version': int(child.get('version')),
- 'addr': child.get('version')})
+ 'addr': child.get('addr')})
return {node.get('id'): addrs}
def list_addresses(self, server_id):