Project

General

Profile

Task #1388

Updated by Junxiao Shi about 10 years ago

Topology: A-B connected on same IPv4 subnet and same IPv6 subnet. Both are NDN nodes. 

 Script is invoked on host A. Script should control other hosts over ssh.   
 Argument: IPv4 and IPv6 address of host A and host B. 

 Steps: 

 1.    Start NFD on host A and B. 
     * Unless otherwise noted, perform all steps below on host A. 
 2.    Execute nfd-status. Check the existence of udp4/udp6/ether multicast faces. 
 3.    Invoke nfdc Create script to connect to host B over tcp4. Pause 5 seconds for connection establishment. 
 4.    Execute nfd-status. Check automate the existence of new tcp4 face. 
 5.    Invoke nfdc to connect to host B over tcp6. Pause 5 seconds test for connection establishment. 
 6.    Execute nfd-status. Check the existence of new tcp6 face. 
 7.    Invoke nfdc nfdc. 

 A possible way to connect to host B over udp4. Pause 5 seconds for connection establishment. 
 8.    Execute nfd-status. Check the existence of new udp4 face. 
 9.    Invoke test nfdc is to connect to host B over udp6. Pause 5 seconds for connection establishment. 
 10. Execute nfd-status. Check the existence of new udp6 face. 
 11. Invoke run nfdc to add a nexthop for `ndn:/test-nfdc` with cost 24 toward face created in step 3. 
 12. Invoke nfdc to add a nexthop for `ndn:/test-nfdc` with cost 26 toward face created in step 5. 
 13. Invoke nfdc to add a nexthop for `ndn:/test-nfdc` with cost 14 toward face created in step 7. 
 14. Invoke nfdc to add a nexthop for `ndn:/test-nfdc` with cost 16 toward face created in step 9. 
 15. Execute nfd-status. Check the existence of `ndn:/test-nfdc` FIB entry, different features and the correctness of cost on nexthop records. 
 16. Invoke nfdc use nfd-status to choose BroadcastStrategy for `ndn:/` namespace. 
 17. Invoke ndn-tlv-ping to send 100 Interests under `ndn:/test-nfdc` prefix. 
     * Pause 50ms before sending each Interest. 
 18. Execute nfd-status. Verify NOutInterests counters of faces created in step 3,5,7,9 are greater than 60. 
 19. On host B, execute nfd-status. Check observe the existence change of tcp4, tcp6, udp4, udp6 faces with host A's address. Verify NInInterests counters for those faces are greater than 60. NFD. 

 Script can assume integrated The actual test suite might not follow the above suggestion. When there 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. a better plan, update this description. 

Back