Пример #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}
Пример #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}
Пример #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}