Esempio n. 1
0
 def execute(self, email, backend_id, machine_id, host):
     from mist.io import methods
     res = methods.ping(host)
     return {'backend_id': backend_id,
             'machine_id': machine_id,
             'host': host,
             'result': res}
Esempio n. 2
0
 def execute(self, email, backend_id, machine_id, host):
     from mist.io import methods
     res = methods.ping(host)
     return {'backend_id': backend_id,
             'machine_id': machine_id,
             'host': host,
             'result': res}
Esempio n. 3
0
    def execute(self, email, backend_id, machine_id, host):
        from mist.io import methods

        res = methods.ping(host)
        return {"backend_id": backend_id, "machine_id": machine_id, "host": host, "result": res}