The option should be extended to use YAML as a default output format:
* default behaviour: dos.py slave-ip-list tcpcloud-mk22 admin-pool01: cfg01:172.16.10.100 ctl01:172.16.10.101 ctl02:172.16.10.102 ... private-pool01: cfg01:192.168.10.100 ctl01:192.168.10.101 ctl02:192.168.10.102 ...
* filtered by specified address pool: dos.py slave-ip-list tcpcloud-mk22 --address-pool=admin-pool01 cfg01:172.16.10.100 ctl01:172.16.10.101 ctl02:172.16.10.102 ...
* inventory mode: dos.py slave-ip-list tcpcloud-mk22 --address-pool=admin-pool01 --ip-only - 172.16.10.100 - 172.16.10.101 - 172.16.10.102 ...
* inventory mode (single line for easy parsing from shell): dos.py slave-ip-list tcpcloud-mk22 --address-pool=admin-pool01 --ip-only-plain 172.16.10.100 172.16.10.101 172.16.10.102 ...
The option should be extended to use YAML as a default output format:
* default behaviour: 172.16. 10.100 172.16. 10.101 172.16. 10.102 192.168. 10.100 192.168. 10.101 192.168. 10.102
dos.py slave-ip-list tcpcloud-mk22
admin-pool01:
cfg01:
ctl01:
ctl02:
...
private-pool01:
cfg01:
ctl01:
ctl02:
...
* filtered by specified address pool: pool=admin- pool01
dos.py slave-ip-list tcpcloud-mk22 --address-
cfg01:172.16.10.100
ctl01:172.16.10.101
ctl02:172.16.10.102
...
* inventory mode: pool=admin- pool01 --ip-only
dos.py slave-ip-list tcpcloud-mk22 --address-
- 172.16.10.100
- 172.16.10.101
- 172.16.10.102
...
* inventory mode (single line for easy parsing from shell): pool=admin- pool01 --ip-only-plain
dos.py slave-ip-list tcpcloud-mk22 --address-
172.16.10.100 172.16.10.101 172.16.10.102 ...