fuel-devops/devops
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 typos in libvirt_driver.py 2017-01-25 05:16:19 +00:00
helpers Quote bash command substitution while `eval`ing it 2017-02-10 11:58:38 +02:00
migrations Revert "Revert "Add support of backing store volumes from templates"" 2016-07-21 12:05:15 +00:00
models Extend 'slave-ip-list' CLI options 2017-02-21 14:10:27 +02:00
templates Change tag to vlan_start vlan_end range in devops templates 2016-07-20 14:26:56 +03:00
tests Extend 'slave-ip-list' CLI options 2017-02-21 14:10:27 +02:00
__init__.py Bump fuel-devops master branch to version 3.0.3 2016-10-10 09:02:27 +00:00
error.py Make exceptions unicode 2016-10-11 09:54:47 +03:00
settings.py Set default python encoding to utf-8 2016-12-02 23:21:47 +02:00
shell.py Extend 'slave-ip-list' CLI options 2017-02-21 14:10:27 +02:00
test_settings.py rework imports: import module instead of object 2016-09-21 17:41:10 +03:00