-
Notifications
You must be signed in to change notification settings - Fork 188
/
p4app_digest_multi.json
58 lines (58 loc) · 1.06 KB
/
p4app_digest_multi.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
{
"p4_src": "p4src/l2_learning_digest.p4",
"cli": true,
"pcap_dump": true,
"enable_log": true,
"exec_scripts": [
{
"cmd": "sudo python l2_learning_controller.py s1 digest &",
"reboot_run": true
},
{
"cmd": "sudo python l2_learning_controller.py s2 digest &",
"reboot_run": true
},
{
"cmd": "sudo python l2_learning_controller.py s3 digest &",
"reboot_run": true
},
{
"cmd": "sudo python l2_learning_controller.py s4 digest &",
"reboot_run": true
}
],
"topology": {
"assignment_strategy": "l2",
"default":{
"auto_arp_tables": false
},
"links": [
["h1", "s1"], ["h2", "s1"], ["h3", "s3"], ["h4", "s3"], ["h5", "s4"],
["h6", "s4"], ["s1", "s2"], ["s2", "s3"], ["s2", "s4"]
],
"hosts": {
"h1": {
},
"h2": {
},
"h3": {
},
"h4": {
},
"h5": {
},
"h6": {
}
},
"switches": {
"s1": {
},
"s2": {
},
"s3": {
},
"s4": {
}
}
}
}