-
Notifications
You must be signed in to change notification settings - Fork 1
/
p4app.json
80 lines (80 loc) · 1.76 KB
/
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
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
{
"p4_src":"dxr.p4",
"switch": "simple_switch",
"compiler": "p4c",
"options": "--target bmv2 --arch v1model --std p4-16",
"switch_cli": "simple_switch_CLI",
"cli": true,
"pcap_dump": true,
"enable_log": true,
"topo_module": {
"file_path": "",
"module_name": "p4utils.mininetlib.apptopo",
"object_name": "AppTopoStrategies"
},
"controller_module": null,
"topodb_module": {
"file_path": "",
"module_name": "p4utils.utils.topology",
"object_name": "Topology"
},
"mininet_module": {
"file_path": "",
"module_name": "p4utils.mininetlib.net",
"object_name": "P4Mininet"
},
"topology": {
"assignment_strategy": "mixed",
"links": [
[
"h1",
"s1",
{
"delay": "10ms",
"bw": 10,
"queue_length": 100,
"weight": 1
}
],
[
"h2",
"s1"
],
[
"h3",
"s1"
],
[
"h4",
"s1"
],
[
"h5",
"s1"
],
[
"h6",
"s1"
],
[
"h7",
"s1"
]
],
"hosts": {
"h1": {},
"h2": {},
"h3": {},
"h4": {},
"h5": {},
"h6": {},
"h7": {}
},
"switches": {
"s1": {
"cli_input": "cmd.txt",
"program": "dxr.p4"
}
}
}
}