sonic-net / DASH

Disaggregated APIs for SONiC Hosts
Apache License 2.0
77 stars 88 forks source link

[dash-p4] Add VXLAN tunnel to avoid build break in swss. #552

Closed r12f closed 2 months ago

r12f commented 3 months ago

Problems

With recent tunnel update, the SAI API generated by current P4 code will have the VXLANDECAP attributes on inbound routing table renamed to TUNNELDECAP. However, these 2 attributes are already used by SWSS, hence renaming then will cause build break in SWSS.

What we are doing in this change

This change adds the vxlan decap actions back as dummy actions, so the old attributes will be generated as before and buy us time for swss to update the code.

image