Project

General

Profile

Actions

Task #1661

closed

Link failure test scenario

Added by Junxiao Shi over 10 years ago. Updated over 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 #1

Updated by Junxiao Shi over 10 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Junxiao Shi over 10 years ago

  • Description updated (diff)
  • % Done changed from 0 to 20
Actions #3

Updated by Junxiao Shi over 10 years ago

  • % Done changed from 20 to 70
Actions #4

Updated by Junxiao Shi over 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 70 to 100
Actions #5

Updated by Junxiao Shi over 10 years ago

  • Subject changed from NCC strategy link failure test scenario to Link failure test scenario
  • Description updated (diff)
Actions #6

Updated by Junxiao Shi over 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF