-
Notifications
You must be signed in to change notification settings - Fork 663
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 #1748
Conversation
This pull request introduces 4 alerts when merging 19fff55 into 30907c4 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 7a12c0f0cfb62d20d1aa94f7dd19fc3fdaa1b5c8 into 30907c4 - view on LGTM.com new alerts:
|
This lgtm is for using mock table dbconnector and its by the existing design. We should ignore this lgtm. |
This pull request introduces 3 alerts when merging d5f82f3e6a34f06e506ad049a62629acca46500c into d8ee5e9 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 2f93cb11d267ffceb27a7b9a2d516599f90dad5d into d8ee5e9 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging c97e1597b609a27c683fe00f40a28e86546cd37a into d8ee5e9 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 165546bce5a0180a24c86dc9977d46561bd486e5 into 9017d99 - view on LGTM.com new alerts:
|
165546b
to
91c96c4
Compare
This pull request introduces 2 alerts when merging 91c96c4 into 9017d99 - view on LGTM.com new alerts:
|
scripts/tunnelstat
Outdated
nstat_fields = ("rx_b_ok", "rx_p_ok", "tx_b_ok", "tx_p_ok") | ||
NStats = namedtuple("NStats", nstat_fields) | ||
|
||
header = ['IFACE', 'RX_OK', 'RX_BYTES', 'RX_PPS','TX_OK', 'TX_BYTES', 'TX_PPS'] |
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.
would it be better to change TX_OK to TX_PKT as we are using bytes for the other column ? Same for RX_OK and RX_PKT
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.
Done
This pull request introduces 2 alerts when merging 5d0c058 into 9017d99 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging fe622b2 into 9017d99 - view on LGTM.com new alerts:
|
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
This pull request introduces 1 alert when merging 81df07d into 9017d99 - view on LGTM.com new alerts:
|
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
This pull request introduces 1 alert when merging 45d9a47 into 8ea834b - view on LGTM.com new alerts:
|
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -0,0 +1,342 @@ | |||
#!/usr/bin/env python3 |
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 update the CLI command reference guide.
* Vxlan Tunnel counters implementation
* Vxlan Tunnel counters implementation
* VxLAN Tunnel Counters and Rates implementation (#1748)
What I did
Implemented Vxlan counters and rates. Defined show commands for counters and rates similar to port and tunnel rates.
How I did it
Implemented tunnelstat utility and used it in show vxlan counters command.
How to verify it
Using unit tests in CLI
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)