Merge lp:~mirsad-vojnikovic-deactivatedaccount/lava-dispatcher/scheduler-daemon into lp:lava-dispatcher
Status: | Superseded |
---|---|
Proposed branch: | lp:~mirsad-vojnikovic-deactivatedaccount/lava-dispatcher/scheduler-daemon |
Merge into: | lp:lava-dispatcher |
Diff against target: |
332 lines (+311/-0) 4 files modified
lava-schedulerd (+100/-0) scheduler/daemon/async_job.py (+33/-0) scheduler/daemon/daemon.py (+133/-0) scheduler/daemon/helpers.py (+45/-0) |
To merge this branch: | bzr merge lp:~mirsad-vojnikovic-deactivatedaccount/lava-dispatcher/scheduler-daemon |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Linaro Validation Team | Pending | ||
Review via email: mp+55240@code.launchpad.net |
This proposal has been superseded by a proposal from 2011-04-05.
Description of the change
Here is a daemon proposal, very modest actually. It takes one job definition from TestJob table and executes it in a dispatcher class I created for testing purposes. This dispatcher class will not do anything special, save print the action names and wait 10 seconds before going on. It is rather easy to modify to do the real job. I think this is a good starter for the daemon job which is in front of us.
Next step is to put more jobs as threads, while updating status of device and test job.
Unmerged revisions
- 37. By Mirsad <mirsad@ubuntu1004desktop>
-
Updated daemon for latest comments. Added tags field to Device table. Changed to GPL2+
Sorry, forgot to mention how to run the daemon:
* 'schedulerd.py start' - start
* 'schedulerd.py stop' - stop
* 'schedulerd.py debug' - debug mode, printing messages to terminal