(stats_before, stats_after)
| 1067 | |
| 1068 | |
| 1069 | def bfd_stats_diff(stats_before, stats_after): |
| 1070 | rx = stats_after.rx - stats_before.rx |
| 1071 | rx_echo = stats_after.rx_echo - stats_before.rx_echo |
| 1072 | tx = stats_after.tx - stats_before.tx |
| 1073 | tx_echo = stats_after.tx_echo - stats_before.tx_echo |
| 1074 | return BFDStats(rx, rx_echo, tx, tx_echo) |
| 1075 | |
| 1076 | |
| 1077 | @parameterized_class( |
no outgoing calls
no test coverage detected