Project

General

Profile

Task #1389

Updated by Junxiao Shi about 10 years ago

Topology: 

     B---A---C 
         | 
         D Design topology to test forwarding strategy including flooding and NCC. 

 It's okay Write a script to have all hosts on same Ethernet switch and in same IP subnet, but multicast must be disabled. automate the test. 

 The tunnels will have this logical topology. 
 script can assume: 

 * All programs involved are NDN nodes. 

 Script is invoked on host A. Script should control other hosts over ssh. 

 Steps: 

 1.    Start NFD on A,B,C,D. 
 2.    On host B,C, start ndn-traffic-server to serve `ndn:/test-bcast`. 
 3.    On host A, invoke nfdc to set BroadcastStrategy at `ndn:/test-bcast`. 
 4.    On host A, invoke nfdc to create UDP tunnel to B, installed and add nexthop for `ndn:/test-bcast` to this face with cost 10. accessible in $PATH. 
 5.    On * Executing ssh <any hostname in the topology> gives a terminal of the remote host A, invoke nfdc to create UDP tunnel to C, and add nexthop for `ndn:/test-bcast` to this face with cost 20. sudo privilege. 
 6.    On host D, invoke nfdc to create UDP tunnel to A, and add nexthop for `ndn:/test-bcast` to this face. 
 7.    On host D, execute ndn-traffic-client to send 100 Interest to `ndn:/test-bcast/A/<random>`. 
 8.    On host B,C, stop ndn-traffic-server. 
     Fail if total served Interests on either host * The integrated tests repository is less than 80. 
 9.    On host D, invoke nfd-status to observe counters on cloned at the face created in step 6. 
     Fail if total received Interests same path on this face is greater than 120 (because A should not forward the second copy of Data to D after PIT entry is satisfied). 

 Script can assume integrated test suite is cloned to all hosts, necessary programs are installed and accessible in $PATH, and current user can ssh to other hosts and has sudo privilege. the same version.

Back