-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths2-runtime.json
More file actions
35 lines (35 loc) · 776 Bytes
/
s2-runtime.json
File metadata and controls
35 lines (35 loc) · 776 Bytes
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
{
"target": "bmv2",
"p4info": "build/hw2.p4.p4info.txt",
"bmv2_json": "build/hw2.json",
"table_entries": [
{
"table": "MyIngress.ipv4_lpm",
"default_action": true,
"action_name": "MyIngress.drop",
"action_params": { }
},
{
"table": "MyIngress.ipv4_lpm",
"match": {
"hdr.ipv4.dstAddr": ["10.0.2.2", 32]
},
"action_name": "MyIngress.ipv4_forward",
"action_params": {
"dstAddr": "08:00:00:00:04:00",
"port": 2
}
},
{
"table": "MyIngress.probe",
"match": {
"hdr.ethernet.etherType": 2050
},
"action_name": "MyIngress.forward_probe",
"action_params": {
"dstAddr": "08:00:00:00:02:22",
"port": 2
}
}
]
}