These changes have been mostly auto-generated with: find . -type f -print0 | xargs -0 perl -pi -e 's/ +$//' Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"target": "bmv2",
|
|
"p4info": "build/mri.p4.p4info.txt",
|
|
"bmv2_json": "build/mri.json",
|
|
"table_entries": [
|
|
{
|
|
"table": "MyEgress.swtrace",
|
|
"default_action": true,
|
|
"action_name": "MyEgress.add_swtrace",
|
|
"action_params": {
|
|
"swid": 1
|
|
}
|
|
},
|
|
{
|
|
"table": "MyIngress.ipv4_lpm",
|
|
"match": {
|
|
"hdr.ipv4.dstAddr": ["10.0.1.1", 32]
|
|
},
|
|
"action_name": "MyIngress.ipv4_forward",
|
|
"action_params": {
|
|
"dstAddr": "08:00:00:00:01:01",
|
|
"port": 2
|
|
}
|
|
},
|
|
{
|
|
"table": "MyIngress.ipv4_lpm",
|
|
"match": {
|
|
"hdr.ipv4.dstAddr": ["10.0.1.11", 32]
|
|
},
|
|
"action_name": "MyIngress.ipv4_forward",
|
|
"action_params": {
|
|
"dstAddr": "08:00:00:00:01:11",
|
|
"port": 1
|
|
}
|
|
},
|
|
|
|
{
|
|
"table": "MyIngress.ipv4_lpm",
|
|
"match": {
|
|
"hdr.ipv4.dstAddr": ["10.0.2.0", 24]
|
|
},
|
|
"action_name": "MyIngress.ipv4_forward",
|
|
"action_params": {
|
|
"dstAddr": "08:00:00:00:02:00",
|
|
"port": 3
|
|
}
|
|
},
|
|
{
|
|
"table": "MyIngress.ipv4_lpm",
|
|
"match": {
|
|
"hdr.ipv4.dstAddr": ["10.0.3.0", 24]
|
|
},
|
|
"action_name": "MyIngress.ipv4_forward",
|
|
"action_params": {
|
|
"dstAddr": "08:00:00:00:03:00",
|
|
"port": 4
|
|
}
|
|
}
|
|
]
|
|
}
|