Skip to content

ASIC temperature sensors support#381

Closed
padmanarayana wants to merge 1 commit intosonic-net:masterfrom
padmanarayana:asic_sens_sonic_utils
Closed

ASIC temperature sensors support#381
padmanarayana wants to merge 1 commit intosonic-net:masterfrom
padmanarayana:asic_sens_sonic_utils

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