commit | 02e10d33f65479415ca1e9c49a15482d0ef2fcbe | [log] [tgz] |
---|---|---|
author | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Wed Apr 12 12:23:51 2017 +0200 |
committer | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Wed Apr 12 12:23:51 2017 +0200 |
tree | d263b3a30ed35a183c448e2894229f6d5c5f816d | |
parent | 3d7d3718c97aef736bf92a2b9b2f664d4bf9ea1f [diff] |
Extended onliner instead
diff --git a/_modules/maas.py b/_modules/maas.py index 446489e..ff7ff5e 100644 --- a/_modules/maas.py +++ b/_modules/maas.py
@@ -664,9 +664,9 @@ continue status = status_name_dict[machine['status']] summary[status] += 1 - res.append('{}:{}:{}'.format(machine['hostname'], - machine['system_id'], - status)) + res.append('hostname:{},system_id:{},status:{}' + .format(machine['hostname'], machine['system_id'], + status)) return {'machines': res, 'summary': summary}