fuel-devops/devops/tests
Dennis Dmitriev 9d9b495c5b Extend 'slave-ip-list' CLI options
- show address pool names or specify an --address-pool-name=<...>
- show node names or set --ip-only flag

Output examples:

$ dos.py slave-ip-list ac_linear_test
public-pool01: master,10.100.0.128 slave-0,10.100.0.129 slave-1,10.100.0.130
neutron-pool01: master,10.100.2.2 slave-0,10.100.2.3 slave-1,10.100.2.4
private-pool01: master,10.100.1.128 slave-0,10.100.1.129 slave-1,10.100.1.130

$ dos.py slave-ip-list ac_linear_test  --ip-only
public-pool01: 10.100.0.128 10.100.0.129 10.100.0.130
neutron-pool01: 10.100.2.2 10.100.2.3 10.100.2.4
private-pool01: 10.100.1.128 10.100.1.129 10.100.1.130

$ dos.py slave-ip-list ac_linear_test --address-pool-name=public-pool01
master,10.100.0.128 slave-0,10.100.0.129 slave-1,10.100.0.130

$ dos.py slave-ip-list ac_linear_test --address-pool-name=public-pool01 --ip-only
10.100.0.128 10.100.0.129 10.100.0.130

Change-Id: I75635f73b90f37d9e50de1772bc7da6720c41cec
Related-Bug:#1658630
2017-02-21 14:10:27 +02:00
..
client Modification of slave adding procedure 2017-01-27 09:30:12 +00:00
driver Fix unit tests for libvirt 2.5+ 2017-02-06 16:15:41 +02:00
helpers Quote bash command substitution while `eval`ing it 2017-02-10 11:58:38 +02:00
models Remove historic unused variables 2016-09-30 16:03:06 +03:00
__init__.py Remove historic unused variables 2016-09-30 16:03:06 +03:00
test_generated_template.py Fix vlan range for private network in template generator 2016-10-04 20:25:27 +03:00
test_manager.py Add possibility to reserve IP address for specific nodes 2016-10-26 20:13:14 +03:00
test_scancodes.py Fix flake8 errors and add tox flake8 tests 2014-08-04 17:43:18 +04:00
test_shell.py Extend 'slave-ip-list' CLI options 2017-02-21 14:10:27 +02:00