Beispiel #1
0
def cattle_wake(lassod, *hostnames):
    """Wake up specified cattle. Return cattle state as a list."""
    output = []
    for host in hostnames:
        client = CattleClient(host)
        output.append(client.wake())
    return output