Project

General

Profile

Task #1381

Updated by Junxiao Shi about 10 years ago

Test correctness of Write a script to test whether NRD prefix registration and can update FIB updates (without ForwardingFlags processing). correctly. 

 The script should 

 1. Start NFD nfd and NRD. nrd 
 2. Run nfd-status to obtain FIB. ndn-status and collect the FIB status 
 3. Start Run 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 ndn-status again and compare the new FIB to output with the FIB result from step 2, 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 correctly created. 

 The script can assume: 

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

Back