Commit 3dcf1f2
authored
Support for ACL extensions in metadata (#1178)
SAI sanitychecker doesn't expect any extensions to be developed for ACL attributes. This PR aims to add support by adding checks whether the 'under-check-attribute' is an extension attribute. The value range for an attribute between SAI_ACL_ENTRY_ATTR_ACTION_START and SAI_ACL_ENTRY_ATTR_ACTION_END is valid only for non-extensions. The extensions are to have attributes beyond SAI_ACL_ENTRY_ATTR_ACTION_END. This PR allows the range check to be conditional for extension attributes.1 parent 24076be commit 3dcf1f2
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
| |||
1890 | 1895 | | |
1891 | 1896 | | |
1892 | 1897 | | |
1893 | | - | |
1894 | | - | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
1895 | 1905 | | |
1896 | 1906 | | |
1897 | 1907 | | |
| |||
4112 | 4122 | | |
4113 | 4123 | | |
4114 | 4124 | | |
4115 | | - | |
| 4125 | + | |
4116 | 4126 | | |
4117 | 4127 | | |
4118 | 4128 | | |
| |||
0 commit comments