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

[submodule update] Add SSD Health tools #3218

Merged
merged 2 commits into from
Oct 4, 2019

Conversation

andriymoroz-mlnx
Copy link
Collaborator

@andriymoroz-mlnx andriymoroz-mlnx commented Jul 24, 2019

Signed-off-by: Andriy Moroz c_andriym@mellanox.com

- What I did
Added SSD utilities to the pmon docker to support different SSD vendors

- How I did it
Added/updated necessary files in dockers/docker-platform-monitor

Also updates src/sonic-platform-common submodule
[cc2dac5] Add SSD Health API and generic implementation (#47)

- How to verify it

- Description for the changelog
[+] SSD Health CLI available via "show platform ssdhealth"

- A picture of a cute animal (not mandatory but encouraged)

Draft because needs to be updated with the sub-module pointers update after merging
sonic-net/sonic-utilities#587 and sonic-net/sonic-platform-common#47

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@andriymoroz-mlnx andriymoroz-mlnx changed the title Add SSD Health tools [submodule update] Add SSD Health tools Sep 19, 2019
@andriymoroz-mlnx andriymoroz-mlnx marked this pull request as ready for review September 19, 2019 15:16
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
@jleveque jleveque merged commit 976850f into sonic-net:master Oct 4, 2019
@@ -7,4 +7,4 @@ if [ -t 1 ] ; then
DOCKER_EXEC_FLAGS+="t"
fi

docker exec -$DOCKER_EXEC_FLAGS pmon sensors "$@"
docker exec -$DOCKER_EXEC_FLAGS pmon $(basename $0) "$@"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andriymoroz-mlnx: Just wondering if we need this script at all anymore, especially because now you need to pass the binary name to the file. The point of these wrapper scripts is to allow users to run executables which reside inside Docker containers as if they are in the base image. If you think there will still be a need for this, then we can leave it, but I think you might want to consider renaming it pmon_cmd_wrapper.

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.

2 participants