Project

General

Profile

Task #1390

Updated by Junxiao Shi about 10 years ago

Topology: A,B,C on same Ethernet switch and same IPv4 IP subnet. All are NDN nodes.   
 NICs on this topology should set MTU to 9000, because NFD doesn't have Ethernet fragmentation yet. 

 Script is invoked on host A. Script should control other hosts over ssh.   
 Arguments: whether to test UDP multicast or Ethernet multicast. 

 Steps: 

 1.    Start NFD on A, B, and C. 
 2.    On host A, insert routing entry `ndn:/test-mcast` to either UDP or Ethernet multicast face. 
     * FaceId can be found with `nfd-status`. 
     * There may be multicast UDP/Ethernet multicast faces. 
       Routing entry can be inserted for all of them. 
 3.    On host A, pick BroadcastStrategy for `ndn:/test-mcast` namespace. 
     * This is necessary to forward Interest to all UDP/Ethernet multicast faces, and one of them will work. 
 4.    On host B, start traffic generator producer to serve `ndn:/test-mcast/B`, `ndn:/test-mcast/Z`. 
 5.    On host C, start traffic generator producer to serve `ndn:/test-mcast/C`, `ndn:/test-mcast/Z`. 
 6.    On host A, invoke `ndn-tlv-peek ndn:/test-mcast/B/1`. 
     Fail the test if this Interest is unanswered. 
 7.    On host A, invoke `ndn-tlv-peek ndn:/test-mcast/C/1`. 
     Fail the test if this Interest is unanswered. 
 8.    On host A, invoke `ndn-tlv-peek ndn:/test-mcast/Z/1`. 
     Fail the test if this Interest is unanswered. 
 9.    On host B, kill the producer. 
 10. On host A, invoke `ndn-tlv-peek ndn:/test-mcast/Z/2`. 
     Fail the test if this Interest is unanswered. 

 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.

Back