Actions
Task #1386
closed/localhop test scenario
Description
Topology: A-B-C. All are NDN nodes.
Steps:
- 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.
- On host A,
- On host C, start ndn-traffic-server to serve
ndn:/localhop/test-localhop/A
andndn:/localhop/test-localhop/B
- On host A, invoke ndn-tlv-peek to send an Interest
ndn:/localhop/test-localhop/A/1
. Fail if this Interest is answered. - On host B, invoke ndn-tlv-peek to send an Interest
ndn:/localhop/test-localhop/B/1
. Fail if this Interest is not answered. - On host C, stop ndn-traffic-server.
Fail if the number of received Interest for
ndn:/localhop/test-localhop/A
traffic pattern does not equal zero.
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.
Actions