Project

General

Profile

Actions

Task #1409

closed

Interest loop 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:
3.00 h

Description

Topology:

->A---->B--
|         |
-----C<----

It's okay to have A,B,C on same Ethernet switch and in same IP subnet, but multicast must be disabled. The tunnels will have this logical topology.
All are NDN nodes.

Script is invoked on host A. Script should control other hosts over ssh.

Arguments: strategy under test.

Steps:

  1. Start NFD on A,B,C.
  2. On host A, create UDP face to host B, and add nexthop for ndn:/test-loop toward this face.
    On host B, create UDP face to host C, and add nexthop for ndn:/test-loop toward this face.
    On host C, create UDP face to host A, and add nexthop for ndn:/test-loop toward this face.
  3. On every host, set strategy of ndn:/test-loop to strategy under test.
  4. On host A, execute ndn-traffic-client to send 100 Interests to ndn:/test-loop/A/<random>.
  5. On every host, execute nfd-status to see face counters.
    Fail if NInInterests or NOutInterests counter of a UDP face is greater than 200.

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

Actions

Also available in: Atom PDF