-
Notifications
You must be signed in to change notification settings - Fork 0
/
feedFile.txt
70 lines (59 loc) · 3.09 KB
/
feedFile.txt
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
# I am a comment
#
CONF GSN GSN 127.0.0.1 9000
CONF DRIVER_1 DRIVER 127.0.0.1 9100
CONF DRIVER_2 DRIVER 127.0.0.1 9110
CONF DRIVER_3 DRIVER 127.0.0.1 9120
CONF DRIVER_4 DRIVER 127.0.0.1 9210
CONF DRIVER_5 DRIVER 127.0.0.1 9220
CONF DRIVER_6 DRIVER 127.0.0.1 9230
CONF USER_1 USER 127.0.0.1 10000
# GSN
GSN {"action" : "initialize", "localName" : "gsn_1", "role" : "GSN", "id" : "gsn_pittsburgh_1", "localIP" : "127.0.0.1", "localPort" : 40000}
GSN {"action" : "sleep", "time" : 360}
GSN {"action" : "exit"}
# DRIVER_1
DRIVER_1 {"action" : "initialize", "localName" : "driver_alice", "role" : "DRIVER", "id" : "bus_71A_alice", "localIP" : "127.0.0.1", "localPort" : 41000}
DRIVER_1 {"action":"sleep", "time": 5}
DRIVER_1 {"action":"start", "route":"71A", "direction":0, "location":2}
DRIVER_1 {"action":"sleep", "time": 300}
DRIVER_1 {"action" : "exit"}
# DRIVER_2
DRIVER_2 {"action" : "initialize", "localName" : "super_bob", "role" : "DRIVER", "id" : "bus_71A_bob", "localIP" : "127.0.0.1", "localPort" : 42000}
DRIVER_2 {"action":"sleep", "time": 30}
DRIVER_2 {"action":"start", "route":"71A", "direction":0, "location":2}
DRIVER_2 {"action":"sleep", "time": 300}
DRIVER_2 {"action" : "exit"}
# DRIVER_3
DRIVER_3 {"action" : "initialize", "localName" : "i'm charlie", "role" : "DRIVER", "id" : "bus_71A_charlie", "localIP" : "127.0.0.1", "localPort" : 43000}
DRIVER_3 {"action":"sleep", "time": 60}
DRIVER_3 {"action":"start", "route":"71A", "direction":0, "location":0}
DRIVER_3 {"action":"sleep", "time": 300}
DRIVER_3 {"action" : "exit"}
# DRIVER_4
DRIVER_4 {"action" : "initialize", "localName" : "david", "role" : "DRIVER", "id" : "bus_61A_david", "localIP" : "127.0.0.1", "localPort" : 44000}
DRIVER_4 {"action":"sleep", "time": 6}
DRIVER_4 {"action":"start", "route":"61A", "direction":0, "location":2}
DRIVER_4 {"action":"sleep", "time": 300}
DRIVER_4 {"action" : "exit"}
# DRIVER_5
DRIVER_5 {"action" : "initialize", "localName" : "EVA", "role" : "DRIVER", "id" : "bus_61A_eva", "localIP" : "127.0.0.1", "localPort" : 45000}
DRIVER_5 {"action":"sleep", "time": 16}
DRIVER_5 {"action":"start", "route":"61A", "direction":0, "location":1}
DRIVER_5 {"action":"sleep", "time": 300}
DRIVER_5 {"action" : "exit"}
# DRIVER_6
DRIVER_6 {"action" : "initialize", "localName" : "Fisher's iphone", "role" : "DRIVER", "id" : "bus_61A_fisher", "localIP" : "127.0.0.1", "localPort" : 46000}
DRIVER_6 {"action":"sleep", "time": 30}
DRIVER_6 {"action":"start", "route":"61A", "direction":0, "location":0}
DRIVER_6 {"action":"sleep", "time": 300}
DRIVER_6 {"action" : "exit"}
# USER_1
USER_1 {"action" : "initialize", "localName" : "Qian Mao", "role" : "USER", "id" : "Channing Mao", "localIP" : "127.0.0.1", "localPort" : 50000}
USER_1 {"action" : "sleep", "time" : 10}
USER_1 {"action" : "request", "route":"71A", "direction":0, "destination":20, "location":15}
USER_1 {"action" : "sleep", "time" : 10}
USER_1 {"action" : "request", "route":"71A", "direction":0, "destination":20, "location":15}
USER_1 {"action" : "sleep", "time" : 40}
USER_1 {"action" : "request", "route":"61A", "direction":0, "destination":20, "location":15}
USER_1 {"action" : "exit"}