Skip to content

Conversation

@dhanasekar-arista
Copy link

What I did

Added counterpoll CLI support (enable/disable/interval/show)

How I did it

Extended the existing infrastructure to support a new attribute.

How to verify it

Manually configured via CLI and ensured CONFIG-DB is populated.

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

counterpoll show
Type Interval (in ms) Status


QUEUE_STAT default (10000) enable
PORT_STAT default (1000) enable
PORT_BUFFER_DROP default (60000) enable
RIF_STAT default (1000) enable
QUEUE_WATERMARK_STAT default (60000) enable
PG_WATERMARK_STAT default (60000) enable
PG_DROP_STAT default (10000) enable
BUFFER_POOL_WATERMARK_STAT default (60000) enable
ACL 10000 enable

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

counterpoll port-serdes-attr ?
disable enable interval

counterpoll show
Type Interval (in ms) Status


QUEUE_STAT default (10000) enable
PORT_STAT default (1000) enable
PORT_BUFFER_DROP default (60000) enable
PORT_SERDES_ATTR default (10000) disable
RIF_STAT default (1000) enable
QUEUE_WATERMARK_STAT default (60000) enable
PG_WATERMARK_STAT default (60000) enable
PG_DROP_STAT default (10000) enable
BUFFER_POOL_WATERMARK_STAT default (60000) enable
ACL 10000 enable

- Added counterpoll CLI support (enable/disable/interval/show)
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dhanasekar-arista
Copy link
Author

TODO:

  1. update doc/Command-Reference.md
  2. unit-tests to be added

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.

2 participants