Commit dff8b9fc by Guba Sándor

vmdriver: adding key name to list_domains_info

parent 1e442b1b
......@@ -220,7 +220,9 @@ def list_domains_info():
domain_list = []
for i in Connection.get().listDomainsID():
dom = Connection.get().lookupByID(i)
domain_list.append(_parse_info(dom.info()))
domain_dict = _parse_info(dom.info())
domain_dict['name'] = dom.name()
domain_list.append(domain_dict)
return domain_list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment