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

ASIC temperature sensors support #381

Closed

Conversation

padmanarayana
Copy link
Contributor

Please do not merge yet.

- What I did

Added switch sensors to the counterpoll CLI

- How I did it

Add methods in counterpoll to handle the sensors section.

- How to verify it

Check the counterpoll show/sensors enable/disable/interval

- Previous command output (if the output of a command-line utility has changed)

root@sonic:~# counterpoll
Usage: counterpoll [OPTIONS] COMMAND [ARGS]...

SONiC Static Counter Poll configurations

Options:
--help Show this message and exit.

Commands:
port Queue counter commands
queue Queue counter commands
show Show the counter configuration
root@sonic:~#
- New command output (if the output of a command-line utility has changed)

root@sonic:~# counterpoll
Usage: counterpoll [OPTIONS] COMMAND [ARGS]...

SONiC Static Counter Poll configurations

Options:
--help Show this message and exit.

Commands:
port Queue counter commands
queue Queue counter commands
sensors Sensor commands
show Show the counter configuration
root@sonic:~# counterpoll sensors
Usage: counterpoll sensors [OPTIONS] COMMAND [ARGS]...

Sensor commands

Options:
--help Show this message and exit.

Commands:
disable Disable sensors counter query
enable Enable sensors counter query
interval Set queue counter query interval
root@sonic:~#

-->

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