| Yulia Portnova | 3556a06 | 2015-03-17 16:30:11 +0200 | [diff] [blame^] | 1 | import fuel_rest_api |
| 2 | |||||
| 3 | |||||
| 4 | def discover_fuel_nodes(root_url, credentials): | ||||
| 5 | """Discover Fuel nodes""" | ||||
| 6 | connection = fuel_rest_api.KeystoneAuth(root_url, credentials) | ||||
| 7 | fi = fuel_rest_api.FuelInfo(connection) | ||||
| 8 | |||||
| 9 | return fi.nodes | ||||