~pwlars/ubuntu-test-cases/auto-offline-devices

18.1.3 by Chris Johnston
Add ubuntu-touch-runlists
1
#!/usr/bin/python
2
3
import sys
4
5
DEVICES = {
6
"maguro-01":"0149BD7E0A019003",
7
"maguro-02":"0149BD7E0200E00F",
8
"maguro-04":"0149BDCC0500701B",
9
"maguro-05":"0149BD3418014013",
10
"mako-01":"01aa3d7a5dcba4a2",
11
"mako-02":"01ade38b552014d4",
12
"mako-05":"01b22f82dc5cec63",
13
"mako-06":"04ed70928fdc13ba",
14
"mako-07":"01e2f64788556934",
15
"grouper-02":"015d1884951c020e",
16
"grouper-03":"015d18ad5c27f80d",
17
"grouper-04":"015d188445242611",
18
"grouper-05":"015d21d9151c0019",
19
"manta-01":"R32D102RPZL",
20
"manta-02":"R32D102RPPK",
21
"manta-04":"R32D203DDZR",
22
"manta-05":"R32D203DMBY",
23
}
24
25
name = sys.argv[1]
26
27
try:
28
    print DEVICES[name]
29
except KeyError:
30
    print "Unknown device name: '%s'" % name
31
    sys.exit(-1)
32