def list_active_vms():
    conn = __get_conn()
    vms = []
    for id_ in conn.listDomainsID():
        vms.append(conn.lookupByID(id_).name())
    return vms
Return a list of names for active virtual machine on the minion
dataset/ETHPy150Open saltstack/salt/salt/modules/virt.py/list_active_vms