Skip to content
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

[show] Add subcommand to display the status of auto-restart feature for each container #798

Merged
merged 17 commits into from
Feb 4, 2020

Conversation

yozhao101
Copy link
Contributor

@yozhao101 yozhao101 commented Feb 3, 2020

- What I did
Since we introduced the auto-restart feature for each container, we need add a show subcommand to display the current status of auto-restart feature for all containers or a specific container.

- How I did it
We define a function named autorestart to show the status of this features. This function will accept an option parameter which is the container name. If this parameter is not specified, this function will by default show the status of all containers. Otherwise it will show the status of specific container.

- How to verify it
We can run the command show container feature autorestart or show container feature autorestart container_name to verify.

@yozhao101 yozhao101 requested a review from jleveque February 3, 2020 23:21
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
@jleveque jleveque changed the title [show autorestart] show subcommand to display the status of auto-restart feature for each container. [show] Add subcommand to display the status of auto-restart feature for each container Feb 4, 2020
show/main.py Outdated Show resolved Hide resolved
show/main.py Outdated Show resolved Hide resolved
@lguohan lguohan merged commit bb10686 into sonic-net:master Feb 4, 2020
abdosi pushed a commit that referenced this pull request Feb 24, 2020
…or each container (#798)

Since we introduced the auto-restart feature for each container, we need add a show subcommand to display the current status of auto-restart feature for all containers or a specific container.

- How I did it
We define a function named autorestart to show the status of this features. This function will accept an option parameter which is the container name. If this parameter is not specified, this function will by default show the status of all containers. Otherwise it will show the status of specific container.

Signed-off-by: Yong Zhao <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
e438b0db6a8912b50f7acddf93d4dc2157f53ecf (HEAD -> 201911, origin/201911) Increase Syncd operation timeout from 1 min to 6 min. (sonic-net#828)
17974adb369111b44dd56837547806918ed4b1ed Update syncd_flex_counter.cpp (sonic-net#798)

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants