VxLAN Tunnel Counters and Rates implementation#1748
VxLAN Tunnel Counters and Rates implementation#1748prsunny merged 16 commits intosonic-net:masterfrom
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.
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
|
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.
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)