diff options
| author | Amit Cohen <[email protected]> | 2021-02-01 21:47:57 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-02-02 17:45:59 -0800 |
| commit | 19d36d2971e671cd1b7f4174ef5e21c341ec7690 (patch) | |
| tree | 36afa1011eb0f58943599a15e91b0f3979f20b3f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | d1a7a489287cebeb3ff3d1a114f5eb7d3641793b (diff) | |
selftests: netdevsim: Add fib_notifications test
Add test to check fib notifications behavior.
The test checks route addition, route deletion and route replacement for
both IPv4 and IPv6.
When fib_notify_on_flag_change=0, expect single notification for route
addition/deletion/replacement.
When fib_notify_on_flag_change=1, expect:
- two notification for route addition/replacement, first without RTM_F_TRAP
and second with RTM_F_TRAP.
- single notification for route deletion.
$ ./fib_notifications.sh
TEST: IPv4 route addition [ OK ]
TEST: IPv4 route deletion [ OK ]
TEST: IPv4 route replacement [ OK ]
TEST: IPv6 route addition [ OK ]
TEST: IPv6 route deletion [ OK ]
TEST: IPv6 route replacement [ OK ]
Signed-off-by: Amit Cohen <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions