Project

General

Profile

Task #1661

Updated by Junxiao Shi over 10 years ago

Develop an integration test scenario. 

 Topology 

      /-----\ 
     A         B 
      \--C--/ 

 Steps 

 1. setup RIB entries on hosts: C has a route toward B, A A, B has two routes toward B A and C 
 2. run ping server on B, A, run ping client on A B 
 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