Esempio n. 1
0
def hosts_of_folder(params):
    """Show all hosts in a folder
    """
    folder = params['folder']
    return host_collection(folder.hosts())
Esempio n. 2
0
def hosts_of_folder(params):
    """Show all hosts in a folder"""
    folder: watolib.CREFolder = params["folder"]
    return host_collection(folder.hosts().values())
Esempio n. 3
0
def hosts_of_folder(params):
    """Show all hosts in a folder"""
    folder: watolib.CREFolder = params["folder"]
    folder.need_permission("read")
    return host_collection(folder.hosts().values())