Package backend :: Module dispatcher :: Class Worker
[hide private]
[frames] | no frames]

Class Worker

source code


Instance Methods [hide private]
 
__init__(self, opts, jobs, events, worker_num, ip=None, create=True, callback=None) source code
 
event(self, what) source code
 
spawn_instance(self)
call the spawn playbook to startup/provision a building instance
source code
 
terminate_instance(self, ip)
call the terminate playbook to destroy the building instance
source code
 
parse_job(self, jobfile) source code
 
post_to_frontend(self, data)
send data to frontend
source code
 
mark_started(self, job) source code
 
return_results(self, job) source code
 
run(self) source code