Project

General

Profile

Task #1661

Updated by Junxiao Shi almost 10 years ago

Develop an integration test scenario for NCC strategy's ability to react to link failures scenario. 

 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

Back