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

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

Merged
merged 2 commits into from
Jun 19, 2018

Conversation

sihuihan88
Copy link
Contributor

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

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

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

@lguohan
Copy link
Contributor

lguohan commented May 25, 2018

retest this please

@pavel-shirshov
Copy link
Contributor

Is it possible to make the counters disabled by default?

@@ -119,6 +123,7 @@ class FlexCounter

uint32_t m_pollInterval = 0;
std::string m_instanceId;
bool m_enable = true;
Copy link
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
Contributor

lguohan commented Jun 19, 2018

retest this please

2 similar comments
@lguohan
Copy link
Contributor

lguohan commented Jun 19, 2018

retest this please

@lguohan
Copy link
Contributor

lguohan commented Jun 19, 2018

retest this please

@sonic-net sonic-net deleted a comment from sihuihan88 Jun 19, 2018
@lguohan
Copy link
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