Exercise for L2 multicast (#288)
This commit is contained in:
70
exercises/multicast/solution/s1-runtime.json
Normal file
70
exercises/multicast/solution/s1-runtime.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"target": "bmv2",
|
||||
"p4info": "build/multicast.p4.p4info.txt",
|
||||
"bmv2_json": "build/multicast.json",
|
||||
"table_entries": [
|
||||
{
|
||||
"table": "MyIngress.mac_lookup",
|
||||
"match": {
|
||||
"hdr.ethernet.dstAddr": "08:00:00:00:01:11"
|
||||
},
|
||||
"action_name": "MyIngress.mac_forward",
|
||||
"action_params": {
|
||||
"port": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"table": "MyIngress.mac_lookup",
|
||||
"match": {
|
||||
"hdr.ethernet.dstAddr": "08:00:00:00:02:22"
|
||||
},
|
||||
"action_name": "MyIngress.mac_forward",
|
||||
"action_params": {
|
||||
"port": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"table": "MyIngress.mac_lookup",
|
||||
"match": {
|
||||
"hdr.ethernet.dstAddr": "08:00:00:00:03:33"
|
||||
},
|
||||
"action_name": "MyIngress.mac_forward",
|
||||
"action_params": {
|
||||
"port": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"table": "MyIngress.mac_lookup",
|
||||
"match": {
|
||||
"hdr.ethernet.dstAddr": "08:00:00:00:04:44"
|
||||
},
|
||||
"action_name": "MyIngress.mac_forward",
|
||||
"action_params": {
|
||||
"port": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"multicast_group_entries" : [
|
||||
{
|
||||
"multicast_group_id" : 1,
|
||||
"replicas" : [
|
||||
{
|
||||
"egress_port" : 1,
|
||||
"instance" : 1
|
||||
},
|
||||
{
|
||||
"egress_port" : 2,
|
||||
"instance" : 1
|
||||
},
|
||||
{
|
||||
"egress_port" : 3,
|
||||
"instance" : 1
|
||||
},
|
||||
{
|
||||
"egress_port" : 4,
|
||||
"instance" : 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user