Project

General

Profile

Actions

Task #1386

closed

/localhop test scenario

Added by Yi Huang about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

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
  3. On host A, invoke ndn-tlv-peek to send an Interest ndn:/localhop/test-localhop/A/1. Fail if this Interest is answered.
  4. On host B, invoke ndn-tlv-peek to send an Interest ndn:/localhop/test-localhop/B/1. Fail if this Interest is not answered.
  5. 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

Also available in: Atom PDF