mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27162 from rallytime/softlayer-service
Be explicit in using "SoftLayer" for service queries in SoftLayer drivers
This commit is contained in:
commit
f1c9de7ed9
2 changed files with 4 additions and 4 deletions
|
@ -538,7 +538,7 @@ def list_nodes_full(mask='mask[id]', call=None):
|
|||
)
|
||||
|
||||
ret = {}
|
||||
conn = get_conn(service='Account')
|
||||
conn = get_conn(service='SoftLayer_Account')
|
||||
response = conn.getVirtualGuests()
|
||||
for node_id in response:
|
||||
ret[node_id['hostname']] = node_id
|
||||
|
@ -651,5 +651,5 @@ def list_vlans(call=None):
|
|||
'The list_vlans function must be called with -f or --function.'
|
||||
)
|
||||
|
||||
conn = get_conn(service='Account')
|
||||
conn = get_conn(service='SoftLayer_Account')
|
||||
return conn.getNetworkVlans()
|
||||
|
|
|
@ -697,7 +697,7 @@ def list_nodes_full(mask='mask[id, hostname, primaryIpAddress, \
|
|||
)
|
||||
|
||||
ret = {}
|
||||
conn = get_conn(service='Account')
|
||||
conn = get_conn(service='SoftLayer_Account')
|
||||
response = conn.getHardware(mask=mask)
|
||||
|
||||
for node in response:
|
||||
|
@ -817,5 +817,5 @@ def list_vlans(call=None):
|
|||
'The list_vlans function must be called with -f or --function.'
|
||||
)
|
||||
|
||||
conn = get_conn(service='Account')
|
||||
conn = get_conn(service='SoftLayer_Account')
|
||||
return conn.getNetworkVlans()
|
||||
|
|
Loading…
Add table
Reference in a new issue