Stanislav Levin
5da309ee11
ipatests: Pretty print multihost config
The printing of string representation of multihost config is useless.
For example,
```
<ipatests.pytest_ipa.integration.config.Config object at 0x7fe017d9dc70>
```
The dictionary representation of such looks better:
```
[ipatests.pytest_ipa.integration] {'ad_admin_name': 'Administrator',
'ad_admin_password': 'Secret123',
'admin_name': 'admin',
'admin_password': 'Secret123',
'dirman_dn': 'cn=Directory Manager',
'dirman_password': 'Secret123',
'dns_forwarder': '8.8.8.8',
'domain_level': 1,
'domains': [{'hosts': [{'external_hostname': 'master1.ipa.test',
'ip': '172.19.0.2',
'name': 'master1.ipa.test',
'role': 'master'},
{'external_hostname': 'replica1.ipa.test',
'ip': '172.19.0.3',
'name': 'replica1.ipa.test',
'role': 'replica'},
...
```
Fixes: https://pagure.io/freeipa/issue/8265
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2020-04-28 17:50:10 +02:00
..
2020-04-21 14:59:02 +02:00
2019-07-16 13:23:21 +03:00
2020-04-14 14:11:11 +02:00
2020-04-28 17:50:10 +02:00
2020-02-12 18:08:32 +02:00
2020-02-12 18:08:32 +02:00
2020-04-28 15:33:57 +02:00
2019-06-19 19:20:14 +10:00
2020-04-28 15:33:57 +02:00
2019-01-18 11:33:11 +01:00
2020-02-12 18:08:32 +02:00
2020-04-28 11:28:29 +02:00
2020-02-14 09:29:20 +02:00
2020-02-12 18:08:32 +02:00
2020-04-21 13:24:50 +02:00
2013-06-17 19:22:50 +02:00
2020-04-28 15:33:57 +02:00
2019-08-06 12:39:46 +02:00
2015-10-22 18:34:46 +02:00
2018-09-27 10:23:03 +02:00
2020-04-21 13:24:50 +02:00
2018-08-02 17:07:43 +02:00
2018-08-02 17:07:43 +02:00
2016-11-09 13:08:32 +01:00
2016-10-20 18:43:37 +02:00
2019-07-16 13:23:21 +03:00
2020-04-21 13:24:50 +02:00
2020-04-21 13:24:50 +02:00