Actions
Task #1661
closedLink failure test scenario
Start date:
Due date:
% Done:
100%
Estimated time:
4.00 h
Description
Develop an integration test scenario for NCC strategy's ability to react to link failures
Topology
/-----\
A B
\--C--/
Steps
- setup RIB entries on hosts: C has a route toward B, A has two routes toward B and C
- run ping server on B, run ping client on A
- after 5s: fail link A-B
- after 5s: recover link A-B
- after 5s: fail link A-C
- after 5s: recover link A-C
- after 5s: stop ping client
- analyze ping client logs, fail the test case if there is any loss, or RTT is over 100ms for any sequence number
Notes
- to inject a link failure: use iptables to drop UDP packets on the port numbers used by the tunnel; don't destroy face
Actions