Project

General

Profile

Actions

Task #1381

closed

NRD Prefix Registration 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:
03/21/2014
Due date:
% Done:

100%

Estimated time:

Description

Test correctness of NRD prefix registration and FIB updates (without ForwardingFlags processing).

  1. Start NFD and NRD.
  2. Run nfd-status to obtain FIB.
  3. Start ndn-traffic-server (with env NRD=1 to use NRD prefix registration); configuration has one or more non-overlapping prefixes.
  4. Run nfd-status to obtain FIB. Compare new FIB to the FIB from step 2, and determine whether FIB entry is inserted
  5. Stop ndn-traffic-server.
  6. Run nfd-status to obtain FIB. Compare new FIB to the FIB from step 4, and determine whether FIB entry is deleted

The script can assume:

  • All programs involved are installed and accessible in $PATH.
  • Current user has passwordless sudo privilege.
Actions

Also available in: Atom PDF