mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #22803 from rallytime/fix-17144
Allow map file to work with softlayer
This commit is contained in:
commit
11df71e16d
@ -571,6 +571,8 @@ def list_nodes(call=None):
|
||||
ret[node]['public_ips'] = nodes[node]['primaryIpAddress']
|
||||
if 'primaryBackendIpAddress' in nodes[node]:
|
||||
ret[node]['private_ips'] = nodes[node]['primaryBackendIpAddress']
|
||||
if 'status' in nodes[node]:
|
||||
ret[node]['state'] = str(nodes[node]['status']['name'])
|
||||
return ret
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user