Task #1386
Updated by Junxiao Shi over 10 years ago
Topology: A-B-C. All are NDN nodes. Steps: 1. Start NFD on Create three VMs A, B, and C. Setup routing entries: * On host A, `ndn:/localhop` goes C with connection like A-B-C. Write a script to host B. test the following: * On host B, `ndn:/localhop` goes to host C. 2. On host B and C, start a producer that serves `ndn:/localhop/test-localhop`. The producer should print a message whenever an Interest is served. 3. On host /localhop/someprefix. * Then on A, invoke start a consumer to send an Interest `ndn:/localhop/test-localhop/1`. 4. Fail the test if prefix. the consumer should only get data from B but not C. * Also try to turn off the producer on host B, then consumer on A should not receive any data even C receives the Interest. has a producer serving that prefix. Script is invoked The script can assume: * Executing ssh on host A. A gives a terminal of host B with sudo privilege. Script can assume * The integrated test suite tests repository is cloned to all hosts, necessary at the same path on host A and B, and has the same version. * All programs involved are installed and accessible in $PATH, current $PATH. * Current user can ssh to other hosts and has passwordless sudo privilege.