Project

General

Profile

Actions

Task #1661

closed

Link failure test scenario

Added by Junxiao Shi almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
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

  1. setup RIB entries on hosts: C has a route toward B, A has two routes toward B and C
  2. run ping server on B, run ping client on A
  3. after 5s: fail link A-B
  4. after 5s: recover link A-B
  5. after 5s: fail link A-C
  6. after 5s: recover link A-C
  7. after 5s: stop ping client
  8. 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

Also available in: Atom PDF