Actions
Task #1385
closedFIB match test scenario
Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
4.00 h
Description
Topology: Single host.
Steps:
- Start NFD.
- Start ndn-traffic-server to serve
ndn:/with Content "Z", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. - Start ndn-traffic-server to serve
ndn:/Awith Content "A", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. - Start ndn-traffic-server to serve
ndn:/A/B/Cwith Content "C", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. - Start ndn-traffic-server to serve
ndn:/D/Ewith Content "E", FreshnessPeriod=10ms. Prefix registration must either use NFD FibMgmt, or use NRD and specify CAPTURE flag. - Invoke ndn-traffic-client to request
ndn:/MustBeFresh=yes MaxSuffixComponents=2. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/FMustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/AMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/aMustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/BMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B/GMustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B/CMustBeFresh=yes. Fail if unanswered. Fail if Content is not "C". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B/C/P/Q/R/S/T/U/V/W/X/Y/ZMustBeFresh=yes. Fail if unanswered. Fail if Content is not "C". - Wait 100ms.
- Invoke ndn-traffic to request
ndn:/DMustBeFresh=yes Exclude=[,D]. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-traffic to request
ndn:/DMustBeFresh=yes Exclude=[,E]. Fail if unanswered. Fail if Content is not "Z".
Script can assume necessary programs are installed and accessible in $PATH, and current user has sudo privilege.
Actions