forked from hakiri/p4-learning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathp4app-medium.json
53 lines (53 loc) · 905 Bytes
/
p4app-medium.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
{
"p4_src": "p4src/loadbalancer.p4",
"cli": true,
"pcap_dump": true,
"enable_log": true,
"exec_scripts": [
{
"cmd": "python routing-controller.py",
"reboot_run": true
}
],
"topology": {
"assignment_strategy": "l3",
"default":
{
"bw": 10
},
"links": [["h1", "s1"], ["h2", "s1"], ["h3", "s1"], ["h4", "s1"], ["h5", "s6"], ["h6", "s6"], ["h7", "s6"], ["h8", "s6"],
["s1", "s2"], ["s1", "s3"], ["s1", "s4"], ["s1", "s5"], ["s2", "s6"], ["s3", "s6"], ["s4", "s6"], ["s5", "s6"]],
"hosts": {
"h1": {
},
"h2": {
},
"h3": {
},
"h4": {
},
"h5": {
},
"h6": {
},
"h7": {
},
"h8": {
}
},
"switches": {
"s1": {
},
"s2": {
},
"s3": {
},
"s4": {
},
"s5": {
},
"s6": {
}
}
}
}