Conversation
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
src/sonic-yang-models/tests/yang_model_tests/tests_config/feature.json
Outdated
Show resolved
Hide resolved
|
not ready for review, need move it back to "To be Reviewed column" |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
|
Arvind will handle the comments from Venkat. |
|
@arlakshm In the mgmt VRF YANG, boolean value is represented as "true" in the below file, please try this for your case as well. |
|
@arlakshm please address the comments from Venkat. Thanks. |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
The backend python code expects "True" or "False" I think change to "true" may not work. |
boolean type is represented as "true/"false" in the table (MGMT VRF, LLDP..etc) fields, can we change the backend to accept "true"/"false" to be consistent. |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
| leaf high_mem_alert { | ||
| description "This configuration controls the trigger to generate | ||
| alert on high memory utilization"; | ||
| type stypes:feature_state; |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
Why I did it
Add yang model for Feature configuration
How I did it
Add
feature.yangand unit testsHow to verify it
Compile
target/python-wheels/sonic_yang_models-1.0-py3-none-any.whlWhich release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)