Commit d0aaeb3
committed
[configure] Check for minimal SAI version
since commit 8e1fb37 (v1.8.0) there is check enum binary backward
compatibility so we are relaxing this check below, versions do not have
to be equal but both need to be at least 2ebde24 (v1.9.0), this will
make sure that enums are always ok, but since that commit some data
structures changed and are not binary backwad compatible like next hop
group api, acl_capability, structs are backward binary compatible from
commit aed34c8, which closest tag version for it is commit 3ff228a
(v1.12.0), so min version check should be set to (v1.12.0), but some
production branches do not use that high SAI version yet, some use even
version v1.7.0 which then it is impossible to provide even enum backward
compatibility, check those links:
opencomputeproject/SAI#1297 (enums)
opencomputeproject/SAI#1795 (structs)1 parent b299bb4 commit d0aaeb3
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
203 | 220 | | |
204 | 221 | | |
205 | 222 | | |
| |||
0 commit comments