-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_INDEX flags #1165
Comments
@kcudnik , would setting "SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_INDEX" to default of "internal" resolve the issue? If no value is provided by the application, SAI will assign an internally generated value. Is there some meta checker restriction that a default "internal" value can never change during runtime? |
yes, setting default internal will solve the issue, and once assigned ether by user or internal SAI, value should not change during runtime until explicitly changed since value marked as "SET" |
@rlhui , is this resolved? |
no, seems like still not resolved |
Hi @kcudnik,
|
correct. Discussion was closed and resolved but pending Brcm to raise PR for this. Thanks. |
@SarathBug from Brcm will address this. Thanks a lot. |
I am seeing meta build error after changing default value from 0 to internal
ASSERT FAILED (on line 1188): SAI_NEIGHBOR_ENTRY_ATTR_ENCAP_INDEX: default internal currently can be set only on read only objects |
please relax saisanitycheck.c condition on 1178, add case for this scenario |
Based on sonic-net/sonic-sairedis#725, seems like for some cases this attribute is CREATE_AND_SET and for some should be READ_ONLY. When this attribute is set by internal SAI, then default value should be set to "internal" and never change during runtime. And in this case it could actually be READ_ONLY, but for remote neighbors seems like this can be create_and_set.
We need to solve this, for example introducing another RO attribute
@vganesan-nokia, @lguohan
The text was updated successfully, but these errors were encountered: