You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is the sample buffer configuration. In dynamic buffer model, "NULL" is a legal value but yang model check doesn't tolerance it.
Failed to install p4-examples=1.0.1-8: Failed to install p4-examples: Data Loading Failed
Leafref "/sonic-buffer-profile:sonic-buffer-profile/sonic-buffer-profile:BUFFER_PROFILE/sonic-buffer-profile:BUFFER_PROFILE_LIST/sonic-buffer-profile:name" of value "NULL" points to a non-existing leaf.
Issue is from the below yang model where the value can be only a leafref and so having NULL fails. We also need to check other yang models where buffer profile can be NULL
Description
Below is the sample buffer configuration. In dynamic buffer model, "NULL" is a legal value but yang model check doesn't tolerance it.
Failed to install p4-examples=1.0.1-8: Failed to install p4-examples: Data Loading Failed
Leafref "/sonic-buffer-profile:sonic-buffer-profile/sonic-buffer-profile:BUFFER_PROFILE/sonic-buffer-profile:BUFFER_PROFILE_LIST/sonic-buffer-profile:name" of value "NULL" points to a non-existing leaf.
}
Issue is from the below yang model where the value can be only a leafref and so having NULL fails. We also need to check other yang models where buffer profile can be NULL
https://github.com/Azure/sonic-buildimage/blob/7eb321c376fd1fcdbc67462185b8d4a7cff5f76f/src/sonic-yang-models/yang-models/sonic-buffer-pg.yang#L58
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: