sonic-net / DASH

Disaggregated APIs for SONiC Hosts
Apache License 2.0
83 stars 89 forks source link

[dash-p4] Add skeleton for matching stage transition control and extract the matching stages in outbound pipeline into dedicated file. #527

Closed r12f closed 7 months ago

r12f commented 7 months ago

Problem

Currently, the routing types in DASH is used to define 2 things:

Although the concepts are there, in DASH P4 code, these concepts are not reflected in a modularized way, and sometimes not that obvious as the transition cannot be found in the definitions of the routing types (P4 table actions).

What this change is doing

This commit contains 2 changes inside:

These changes are intended to help with:

This commit will not change any generated SAI APIs.