Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for ACL extensions in metadata (opencomputeproject#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. Signed-off-by: Kumaresh Perumal <kperumal@barefootnetworks.com>
- Loading branch information