Project

General

Profile

Actions

Task #1409

closed

Interest loop test scenario

Added by Junxiao Shi about 10 years ago. Updated almost 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 #1

Updated by Yi Huang about 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Yi Huang
Actions #2

Updated by Yi Huang about 10 years ago

On step 5, do you mean "nInInterests" or something else?

Actions #3

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
Actions #4

Updated by Yi Huang about 10 years ago

To find out the counter for the udp face, should I look at the nInInterests and nOutInterests? I think these are for the whole NFD. what does the counters following each face mean? Can you help me how to interpret this:

counters={in={0i 0d} out={6i 0d}}

Or should I look at the two values counting interests for NFD?

Actions #5

Updated by Yi Huang almost 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #6

Updated by Yi Huang almost 10 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF