Actions
Task #1381
closedNRD Prefix Registration test scenario
Description
Test correctness of NRD prefix registration and FIB updates (without ForwardingFlags processing).
- Start NFD and NRD.
- Run nfd-status to obtain FIB.
- Start ndn-traffic-server (with
env NRD=1
to use NRD prefix registration); configuration has one or more non-overlapping prefixes. - Run nfd-status to obtain FIB. Compare new FIB to the FIB from step 2, and determine whether FIB entry is inserted
- Stop ndn-traffic-server.
- 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