sonic-net / DASH

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

[sai-gen] Rename SAI generator SAI* objects to DashP4* objects. #572

Closed r12f closed 1 month ago

r12f commented 1 month ago

This change is purely for renaming, without any functionality or logic change. It rename SAI objects to DashP4 objects, for example, SAIEnum to DashP4Enum.

The reason of this change is to get us prepared for introducing the SAI spec objects for SAI API generation. It allows us to separate the P4Runtime parsing logic with the real SAI API definitions, as well as greatly simplify the logic in the j2 templates, which is extremely hard to maintain.

KrisNey-MSFT commented 1 month ago

@mukeshmv OR @marian-pritsak - could you take a look at this minor change?