-
Notifications
You must be signed in to change notification settings - Fork 0
/
batch_conf.json
91 lines (87 loc) · 2.51 KB
/
batch_conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"schema": 2,
"global":{
"transform-pre":{
"script":".+={\"archives\": [{ \"data\": { \"op\": \"put\", \"_url\": \"http:\/\/198.111.224.150:5001\",\"schema\": 2 },\"archiver\": \"http\" }]}"
}
},
"jobs": [
{
"label": "level2",
"parallel": false,
"task": {
"schema":4,
"debug": true,
"test":{
"type": "dot1x",
"spec": {
"ssid": "MWireless",
"interface":"wlan0",
"_username":"",
"_password":"",
"key-management":"WPA-EAP"
}
},
"archives":[{
"data": {
"op": "put",
"_url": "http://198.111.224.150:5001",
"schema": 2
},
"archiver": "http"
}]
},
"continue-if": {
"script": ".[0].runs[0].\"application/json\".succeeded"
}
},
{
"label": "level3",
"parallel": false,
"task": {
"schema":4,
"debug": true,
"test": {
"type": "dhcp",
"spec": {
"interface":"wlan0"
}
}
},
"continue-if": {
"script": ".[0].runs[0].\"application/json\".succeeded"
}
},
{
"label": "tasks",
"iterations": 2,
"enabled": true,
"parallel": true,
"task": {
"debug": true,
"schema":4,
"reference":{
"tests":[{
"type": "rtt",
"spec": {
"dest": "1.1.1.1"
}
},{
"type": "dns",
"spec": {
"query": "umich.edu",
"record": "ns"
}
}
]
},
"test":{}
},
"task-transform": {
"script": [
".test = .reference.tests[$iteration]"
]
}
}
]
}