def list_active_vms():
 return __salt__['vmadm.list'](search="state='running'", order='uuid')

def list_active_vms ( ) : return __salt__ [ 'vmadm.list' ] ( search = "state='running'" , order = 'uuid' )
return a list of names for active virtual machine on the minion cli example: .