Repository navigation
Conversation
…memory restart status and memory threshold of a container. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
…st cases. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
|
/Azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
This pull request has been automatically marked as stale because it has not had any activity for 365 days. It will be closed in 14 days if no further activity occurs. If this PR is still relevant, please leave a comment or push a new commit — this will reset the inactivity timer. Important: before this PR can be merged it must be rebased onto the latest If you believe this PR should remain open regardless of activity, add the Thank you for your contribution to SONiC! |
|
This pull request has been closed due to inactivity (no updates in over 1 year). If you would like to continue this work, please re-open the PR or submit a new one rebased onto the latest Thank you for your contribution to SONiC! |
Signed-off-by: Yong Zhao yozhao@microsoft.com
What I did
This PR aims to implement the subcommands of
show/configwhich can help users configure the status of high memory restart and memory threshold of a specific container.How I did it
I implemented two functions in
config/feature.pyandshow/feature.pyfiles separately according to the following logic:FEATUREtable ofCONFIG_DBhigh_mem_restartormem_thresholdfield exists in configuration of the containerhigh_mem_restartormem_thresholdfield which was provided by userHow to verify it
I tested this implementation on DuT
str-msn2700-01.Test result of Unit Test:
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)