sonic-net / sonic-sairedis

SAI object interface to Redis database, as used in the SONiC project
Other
56 stars 273 forks source link

[syncd] Add attribute version check feature #1470

Closed kcudnik closed 1 day ago

kcudnik commented 1 day ago

By default disabled. If enabled, it will use SAI metadata and libsai version returned by sai_api_version_query to verify if given attribute during SAI discovery process was introduced in the current libsai version or below that version.

This feature is partial solution to this problem: https://github.com/sonic-net/sonic-buildimage/issues/20725, more here: https://github.com/opencomputeproject/SAI/issues/2099