Merge lp:~stylesen/lava-dispatcher/multinode into lp:lava-dispatcher/multinode

Proposed by Senthil Kumaran S
Status: Merged
Approved by: Neil Williams
Approved revision: no longer in the source branch.
Merged at revision: 633
Proposed branch: lp:~stylesen/lava-dispatcher/multinode
Merge into: lp:lava-dispatcher/multinode
Diff against target: 38 lines (+28/-0)
1 file modified
lava_dispatcher/job.py (+28/-0)
To merge this branch: bzr merge lp:~stylesen/lava-dispatcher/multinode
Reviewer Review Type Date Requested Status
Neil Williams Pending
Review via email: mp+170592@code.launchpad.net

Description of the change

Add device_group to job schema.

To post a comment you must log in.
633. By Neil Williams

Merge stylesen's branch for the job schema in multinode

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lava_dispatcher/job.py'
2--- lava_dispatcher/job.py 2013-06-18 16:49:55 +0000
3+++ lava_dispatcher/job.py 2013-06-20 12:05:37 +0000
4@@ -64,6 +64,34 @@
5 'type': 'string',
6 'optional': True,
7 },
8+ 'device_group': {
9+ 'type': 'array',
10+ 'additionalProperties': False,
11+ 'optional': True,
12+ 'items': {
13+ 'type': 'object',
14+ 'properties': {
15+ 'role': {
16+ 'optional': False,
17+ 'type': 'string',
18+ },
19+ 'count': {
20+ 'optional': False,
21+ 'type': 'integer',
22+ },
23+ 'device_type': {
24+ 'optional': False,
25+ 'type': 'string',
26+ },
27+ 'tags': {
28+ 'type': 'array',
29+ 'uniqueItems': True,
30+ 'items': {'type': 'string'},
31+ 'optional': True,
32+ },
33+ },
34+ },
35+ },
36 'job_name': {
37 'type': 'string',
38 'optional': True,

Subscribers

People subscribed via source and target branches

to status/vote changes: