Exemple #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}
Exemple #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}
Exemple #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}