コード例 #1
0
ファイル: interface.py プロジェクト: HyFrmn/Wrangler
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