-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
VxLAN Tunnel Counters and Rates implementation #8369
Conversation
This reverts commit 459d3d1.
…onic-net#7281)"" This reverts commit f0b2122.
This reverts commit 9c172a5.
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -43,6 +45,7 @@ def enable_counters(): | |||
enable_counter_group(db, 'QUEUE_WATERMARK') | |||
enable_counter_group(db, 'BUFFER_POOL_WATERMARK') | |||
enable_counter_group(db, 'PORT_BUFFER_DROP') | |||
enable_counter_group(db, 'TUNNEL') |
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.
Lets disable the counter by default and enable based on need
@@ -29,6 +29,8 @@ def enable_rates(): | |||
counters_db.set('COUNTERS_DB', 'RATES:PORT', 'PORT_ALPHA', DEFAULT_ALPHA) | |||
counters_db.set('COUNTERS_DB', 'RATES:RIF', 'RIF_SMOOTH_INTERVAL', DEFAULT_SMOOTH_INTERVAL) | |||
counters_db.set('COUNTERS_DB', 'RATES:RIF', 'RIF_ALPHA', DEFAULT_ALPHA) | |||
counters_db.set('COUNTERS_DB', 'RATES:TUNNEL', 'TUNNEL_SMOOTH_INTERVAL', DEFAULT_SMOOTH_INTERVAL) | |||
counters_db.set('COUNTERS_DB', 'RATES:TUNNEL', 'TUNNEL_ALPHA', DEFAULT_ALPHA) |
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.
What is the interval value?
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.
Smooth interval is used in rate calculate where the traffic within this time limit are given higher weightage for rate calculation (for e.g. in last 10 sec over the traffic received prior to it) . https://github.com/Azure/SONiC/blob/master/doc/rates-and-utilization/Rates_and_utilization_HLD.md
* Enable flex counters for Vxlan tunnel
Why I did it
To Enable tunnel counters
How I did it
Enabling flex counters
How to verify it
Using show command and unit tests
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)