Project

General

Profile

Actions

Task #1362

closed

TCP/UDP tunnel test scenario

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

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

100%

Estimated time:
6.00 h

Description

Test correctness of unicast faces.

Build three virtual machines connected via IP network as A-R-B.

Host A and B are NDN nodes.

Host R is an IP router, and is not a NDN forwarder. This is required in the topology to avoid host A and B communicate over multicast.

  1. Script is invoked on host A. Command line arguments:
    • SSH hostname for host B.
    • FaceUri of host B's forwarder, which could be tcp4, tcp6, udp4, udp6.
  2. Start NFD on A and B.
    • Script should control host B via ssh.
  3. On host A, invoke nfdc to initiate a tunnel to B using the given FaceUri.
  4. On host A, invoke nfdc to add a nexthop record to the tunnel, so that Interests under a certain prefix go to B. The prefix can be hard coded.
  5. Run traffic generator producer on host B, and run traffic generator consumer on host A.
  6. Collect results.

The script can assume:

  • All programs involved are installed and accessible in $PATH.
  • IP router R is correctly configured and can forward IP packets between A and B.
  • Executing ssh <SSH hostname for host B> on host A gives a terminal of host B with sudo privilege.
  • The integrated tests repository is cloned at the same path on host A and B, and has the same version.
Actions #1

Updated by Yi Huang over 10 years ago

  • Status changed from New to In Progress

The script is written. Need a successful case to verify the correctness of the script.

Actions #2

Updated by Yi Huang over 10 years ago

  • Status changed from In Progress to Code review
Actions #3

Updated by Yi Huang over 10 years ago

  • Status changed from Code review to Closed
Actions #4

Updated by Yi Huang over 10 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF