Support tags in the scheduler
We may have different machines with special characteristics that need to be specified at scheduling time, such as jtag, power debugging hardware, and things like this. Having a way of specifying tags when scheduling jobs would help manage this.
Blueprint information
- Status:
- Complete
- Approver:
- Paul Larson
- Priority:
- Medium
- Drafter:
- Michael Hudson-Doyle
- Direction:
- Approved
- Assignee:
- Michael Hudson-Doyle
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2011.12
- Started by
- Fathi Boudra
- Completed by
- Michael Hudson-Doyle
Whiteboard
[pwlars, 2011-12-01] This will be needed soon for testing on boards that only have audio loopback, usb devices attached, etc...
Meta:
Headline: Jobs can be scheduled more intelligently now by using tags to specify attributes of the device you need the scheduler to pick.
Acceptance: A job can specify both a device type, as well as a set of tags to help it run the job on a board that also has those tags.
Work Items
Work items:
add tags to device model: DONE
add tags to testjob model: DONE
read tags from job file on submission: DONE
consider job tags when allocating a job to a board: DONE
display tags on job and device pages: DONE