Skip to content

[counter]: support enable/disable counter query#322

Merged
lguohan merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/enable
Jun 19, 2018
Merged

[counter]: support enable/disable counter query#322
lguohan merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/enable

Conversation

@sihuihan88
Copy link
Copy Markdown
Contributor

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

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

Depends on sonic-net/sonic-swss-common#202

@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented May 25, 2018

retest this please

@pavel-shirshov
Copy link
Copy Markdown
Contributor

Is it possible to make the counters disabled by default?


uint32_t m_pollInterval = 0;
std::string m_instanceId;
bool m_enable = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi Sihui,

Can you please make it disabled by default?

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

lguohan commented Jun 19, 2018

retest this please

2 similar comments
@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Jun 19, 2018

retest this please

@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Jun 19, 2018

retest this please

@sonic-net sonic-net deleted a comment from sihuihan88 Jun 19, 2018
@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Jun 19, 2018

retest this please

@lguohan lguohan merged commit 01008cc into sonic-net:master Jun 19, 2018
lguohan pushed a commit that referenced this pull request Jun 25, 2018
* [counter]: support enable/disable counter query

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

* Set counter polling by default disabled

Signed-off-by: Sihui Han <sihan@microsoft.com>
volodymyrsamotiy pushed a commit to volodymyrsamotiy/sonic-sairedis that referenced this pull request Jul 30, 2019
* [counter]: support enable/disable counter query

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

* Set counter polling by default disabled

Signed-off-by: Sihui Han <sihan@microsoft.com>
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
* [counter]: support enable/disable counter query

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

* Set counter polling by default disabled

Signed-off-by: Sihui Han <sihan@microsoft.com>
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