mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add the list_nodes_select function to linode driver
This commit is contained in:
parent
654cab0314
commit
4731d9442e
1 changed files with 9 additions and 0 deletions
|
@ -1076,6 +1076,15 @@ def list_nodes_min(call=None):
|
|||
return ret
|
||||
|
||||
|
||||
def list_nodes_select(call=None):
|
||||
'''
|
||||
Return a list of the VMs that are on the provider, with select fields.
|
||||
'''
|
||||
return salt.utils.cloud.list_nodes_select(
|
||||
list_nodes_full(), __opts__['query.selection'], call,
|
||||
)
|
||||
|
||||
|
||||
def reboot(name, call=None):
|
||||
'''
|
||||
Reboot a linode.
|
||||
|
|
Loading…
Add table
Reference in a new issue