Project

General

Profile

Actions

Feature #2201

closed

Remote prefix registration test scenario

Added by Junxiao Shi about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
6.00 h

Description

Develop an integration test for remote prefix registration.

Topology

A---B

IPv4 UDP tunnel is used.

Steps

  1. generate certificates on A for these identities, in RIB daemon's KeyChain:
    • ndn:/Z/A self-signed
    • ndn:/Z/A/nrd signed by ndn:/Z/A
    • ndn:/Z/A/B/C signed by ndn:/Z/A
    • ndn:/Z/A/B/C/D/E/nrd signed by ndn:/Z/A/B/C
    • ndn:/Z/F self-signed
  2. configure NFD on A:
    • enable remote prefix registration
    • set remote registration refreshing time to 15 seconds
  3. configure NFD on B:
    • set UDP face timeout to 35 seconds
    • enable acceptance of prefix registration using ndn:/localhop/nfd/rib command prefix
    • make ndn:/Z/A a trust anchor for prefix registration using ndn:/localhop/nfd/rib command prefix
    • set broadcast strategy for ndn:/
  4. start NFD (including RIB Daemon) on A,B
  5. start repo-ng on A to listen on ndn:/ prefix, and put all certificates generated in step 1 into this repo via TCP bulk insert protocol
  6. start nfd-autoreg --prefix=/Z on B
  7. execute nfdc on A to create a face toward B over UDP
  8. start ndnpingserver for ndn:/Z/A/G on A, defer 5 seconds
  9. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A exists
  10. execute nfdc on A to register a Route for ndn:/localhop/nfd on the face created in step 7
  11. defer 5 seconds
  12. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A does not exist
  13. start ndnpingserver for ndn:/Z/A/H on A, defer 5 seconds
  14. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A does not exist
  15. stop ndnpingserver from step 8, defer 5 seconds
  16. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A does not exist
  17. stop ndnpingserver from step 13, defer 5 seconds
  18. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A exists
  19. start ndnpingserver for ndn:/Z/A/B/C/D on A, defer 5 seconds
  20. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A exists, fail the test case if Route for ndn:/Z/A/B/C toward A does not exist
  21. stop ndnpingserver from step 19
  22. start ndnpingserver for ndn:/Z/A/B/C/D/E on A, defer 5 seconds
  23. inspect RIB on B, fail the test case if Route for ndn:/Z/A toward A exists, fail the test case if Route for ndn:/Z/A/B/C toward A exists, fail the test case if Route for ndn:/Z/A/B/C/D/E toward A does not exist
  24. defer 80 seconds
  25. inspect RIB on B, fail the test case if Route for ndn:/Z/A/B/C/D/E toward A does not exist
  26. start ndnpingserver for ndn:/Z/F/I on A, defer 5 seconds
  27. inspect RIB on B, fail the test case if Route for ndn:/Z/F toward A exists

Files

result_2049,1.tar (130 KB) result_2049,1.tar Junxiao Shi, 05/24/2015 11:34 AM
result_2049,2.tar (130 KB) result_2049,2.tar Junxiao Shi, 05/26/2015 08:05 AM
result_2049,3.tar (130 KB) result_2049,3.tar Junxiao Shi, 05/27/2015 04:35 AM
20150916133511.tgz (150 KB) 20150916133511.tgz integ 2049,6 with NFD 1704,25 Junxiao Shi, 09/16/2015 08:01 AM
20150916194551.tgz (152 KB) 20150916194551.tgz integ 2049,6 Junxiao Shi, 09/16/2015 05:08 PM
20150917060121-1.tgz (155 KB) 20150917060121-1.tgz integ 2049,7 Junxiao Shi, 09/17/2015 07:01 AM
20150917060201-1.tgz (160 KB) 20150917060201-1.tgz integ 2049,7 with NFD 1704,25 Junxiao Shi, 09/17/2015 07:01 AM
20150917190008.tgz (152 KB) 20150917190008.tgz integ 2049,8 Junxiao Shi, 09/17/2015 03:58 PM

Related issues 3 (0 open3 closed)

Blocked by NFD - Feature #2056: nrd: remote prefix registrationClosedYanbiao Li

Actions
Blocked by NFD - Feature #2964: infoedit: configuration editorClosedYanbiao Li

Actions
Blocks NFD - Feature #3218: Automatic prefix propagation test scenarioClosedYanbiao Li

Actions
Actions

Also available in: Atom PDF