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]: add support to enable/disable counter query #511

Merged
merged 1 commit into from
Jun 19, 2018

Conversation

sihuihan88
Copy link
Contributor

@sihuihan88 sihuihan88 commented May 24, 2018

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

What I did
Add support to enable/disable counter query
Why I did it
Add the flexibility to enable or disable counter query.
How I verified it
Tested on DUT
Details if related

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

@lguohan
Copy link
Contributor

lguohan commented May 25, 2018

retest this please

@@ -61,13 +62,22 @@ void FlexCounterOrch::doTask(Consumer &consumer)
const auto &field = fvField(valuePair);
const auto &value = fvValue(valuePair);

if (field == POLL_INTERVAL_FIELD)
if (field == POLL_INTERVAL_FIELD)
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not recall we need the FIELD suffix now, when did we introduce them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They were introduced before. I can have a separate PR to clean it up later if that is preferred

@pavel-shirshov pavel-shirshov merged commit 98ad0bd into sonic-net:master Jun 19, 2018
lguohan pushed a commit that referenced this pull request Jun 25, 2018
Signed-off-by: Sihui Han <sihan@microsoft.com>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* In sync with our latest change, where we default failthrough to be False.
Reference: Pull request sonic-net#2746

* Loading minigraph, flushes DB, which is not sent as updates to hostcfgd. So stop hostcfgd before load and restart after load, to be able to act in sync with updated CONFIG-DB.
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
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