Project

General

Profile

Task #1386

Updated by Junxiao Shi about 10 years ago

Topology: A-B-C. All are NDN nodes. 

 Steps: 

 1. Start NFD on A, B, and C. Setup routing entries: 
     * On host A, `ndn:/localhop` goes to host B. 
     * On host B, `ndn:/localhop` goes to host C. 
 2. On host C, start ndn-traffic-server to serve `ndn:/localhop/test-localhop/A` and `ndn:/localhop/test-localhop/B` a producer that serves `ndn:/localhop/test-localhop`. The producer should print a message whenever an Interest is served. 
 3. On host A, invoke ndn-tlv-peek a consumer to send an Interest `ndn:/localhop/test-localhop/A/1`. 
    Fail if this Interest is answered. `ndn:/localhop/test-localhop/1`. 
 4. On host B, invoke ndn-tlv-peek to send an Interest `ndn:/localhop/test-localhop/B/1`. 
    Fail the test if this Interest is not answered. 
 5. On producer on host C, stop ndn-traffic-server. 
    Fail if C receives the number of received Interest for `ndn:/localhop/test-localhop/A` traffic pattern does not equal zero. Interest. 

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

Back