-
Notifications
You must be signed in to change notification settings - Fork 542
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
Correct the sflow default sample rate #1623
Conversation
- What I did Correct the sflow default sample rate to "ifSpeed / 1e6". - Why I did it According the PR: SONiC#746, the sample rate should be "ifSpeed / 1e6". - How I verified it - Details if related Signed-off-by: Fred Yu [email protected]
@dgsudharsan , @padmanarayana to review |
99acf5d
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@fredyu190011 , can you please do a force-push? |
Hi @prsunny , I solve the conflict through merge. Is it okay? |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@fredyu190011 Please address my latest comments. |
5900bf7
Hi @dgsudharsan , I cannot see your latest comment. |
#define SFLOW_SAMPLE_RATE_VALUE_10G "1000" | ||
#define SFLOW_SAMPLE_RATE_VALUE_1G "100" | ||
#define SFLOW_SAMPLE_RATE_VALUE_400G "400000" | ||
#define SFLOW_SAMPLE_RATE_VALUE_100G "100000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add 200G speed sample rate value. It got missed in the merge I assume
@@ -1,12 +1,12 @@ | |||
class TestSflow: | |||
speed_rate_table = { | |||
"400000": "40000", | |||
"100000": "10000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add 200G here too?
@prsunny Can we merge this? |
Please add it for 202012 branch. |
According the PR: SONiC#746, the sample rate should be "ifSpeed / 1e6". Signed-off-by: Fred Yu [email protected]
According the PR: SONiC#746, the sample rate should be "ifSpeed / 1e6". Signed-off-by: Fred Yu [email protected]
Restored cfggen sort method of json data and used it to sort config db before saving. signed-off-by: Tamer Ahmed <[email protected]>
What I did
Correct the sflow default sample rate to "ifSpeed / 1e6".
Why I did it
According the PR: SONiC#746, the sample rate should be "ifSpeed / 1e6".
How I verified it
Details if related
Signed-off-by: Fred Yu [email protected]