def list_domains():
 vms = []
 vms.extend(list_active_vms())
 vms.extend(list_inactive_vms())
 return vms

def list_domains ( ) : vms = [ ] vms . extend ( list_active_vms ( ) ) vms . extend ( list_inactive_vms ( ) ) return vms
return a list of virtual machine names on the minion cli example: .