futurewei-cloud / alioth-app

MIT License
1 stars 2 forks source link

Prototype of manual parser creation from multiple packet filter queries (w/o enablement knobs) #5

Open r12f opened 1 year ago

r12f commented 1 year ago

Merge protocol into a single parser in P4:

Here are some sample of Zion policies:

Eth({ether_type = ETH_IPV4}).IPv4({ dst_ip = lpm })
Eth({ether_type = ETH_MY_TUNNEL}).MyTunnel({proto_id = ETH_IPV4, dst_id = exact}).IPv4