-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathp4app.json
41 lines (41 loc) · 937 Bytes
/
p4app.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
{
"program": "bcast_router.p4",
"language": "p4-16",
"targets": {
"multiswitch": {
"bmv2_log": true,
"pcap_dump": true,
"auto-control-plane": true,
"cli": false,
"links": [["h1", "s1"], ["h2", "s1"], ["h3", "s1"], ["h4", "s1"]],
"hosts": {
"h1": {
"cmd": "./bcast_listen.py",
"startup_sleep": 0.2,
"wait": false
},
"h2": {
"cmd": "./bcast_listen.py",
"wait": false
},
"h3": {
"cmd": "./bcast_listen.py",
"wait": false
},
"h4": {
"cmd": "./bcast_send.py",
"wait": true
}
},
"switches": {
"s1": {
"commands": [
"commands_ipv4.txt",
"commands_forward.txt"
],
"mcast_groups": "mcast_groups.txt"
}
}
}
}
}