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:/A
with 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/C
with 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/E
with 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:/F
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/a
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B/G
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "A". - Wait 100ms.
- Invoke ndn-tlv-peek to request
ndn:/A/B/C
MustBeFresh=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/Z
MustBeFresh=yes. Fail if unanswered. Fail if Content is not "C". - Wait 100ms.
- Invoke ndn-traffic to request
ndn:/D
MustBeFresh=yes Exclude=[,D]. Fail if unanswered. Fail if Content is not "Z". - Wait 100ms.
- Invoke ndn-traffic to request
ndn:/D
MustBeFresh=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