Skip to content

[counterpoll]: init cli support to change counter polling configuration#257

Merged
sihuihan88 merged 1 commit intosonic-net:masterfrom
sihuihan88:dev/sihan/counterpoll
May 24, 2018
Merged

[counterpoll]: init cli support to change counter polling configuration#257
sihuihan88 merged 1 commit intosonic-net:masterfrom
sihuihan88:dev/sihan/counterpoll

Conversation

@sihuihan88
Copy link
Copy Markdown
Contributor

@sihuihan88 sihuihan88 commented May 18, 2018

Signed-off-by: Sihui Han sihan@microsoft.com

- What I did
Provides CLI command to change counter polling interval. In future, add command to enable/disable specific counter query
- How I did it
Add counterpoll queue interval and counterpoll port interval to make the change
Add counterpoll show to display current counterpoll configuration.

- How to verify it
Tested on DUT
- 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)

admin@SONiC# counterpoll show  
Type          Interval                               
----------  ----------                               
QUEUE_STAT       10000                               
PORT_STAT        10000                               
root@str-s6000-acs-13:/home/admin#       

-->

Signed-off-by: Sihui Han <sihan@microsoft.com>
@nikos-github
Copy link
Copy Markdown
Contributor

Have you considered the cli to be 'show counter poll-interval' or similar?

@sihuihan88
Copy link
Copy Markdown
Contributor Author

That could be wrapped with our show command later.

@sihuihan88 sihuihan88 merged commit fffe98e into sonic-net:master May 24, 2018
@sihuihan88 sihuihan88 deleted the dev/sihan/counterpoll branch May 24, 2018 18:18
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
* [Cloudlight] QSFP-DD FW upgrade doesn't work (sonic-net#257)

- Description
cdb1_chkstatus will crash when i2c NACK or timeout.

- Motivation and Context
I2C of transceiver might NACK or stretching when FW upgrade, assuming "None" means "CdbIsBusy" until timeout.

* [Cloudlight] QSFP-DD FW upgrade doesn't work (sonic-net#257)

- Description
Waiting a delay in "run_fw_image" to ensure it is really executed.
Return a special package when get none in "get_module_fw_info".

- Motivation and Context
"run_fw_image" will be executed after a delay which according to run cmd, waiting the delay in "run_fw_image" to avoid aother cmd sent before it really executing.
CDB cmds will maybe cause several seconds NACK or stretching on i2c bus depend on implementation of module vendor, handling this situation for compatible with different implementation.

* [Cloudlight] QSFP-DD FW upgrade doesn't work (sonic-net#257)

- Description
Using real length to replace fixed number in "block_write_epl" function.

- Motivation and Context
To avoid a wrong epl length used in module.

* Update unit tests for cmis.

Test : Creating "get_module_fw_info" test.
cyw233 pushed a commit to cyw233/sonic-utilities that referenced this pull request Mar 2, 2026
…cherrypick-4128

Add remove operation for buffer_profile if remove entire profile. (sonic-net#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants