Project

General

Profile

Actions

Feature #3218

closed

Automatic prefix propagation test scenario

Added by Junxiao Shi over 8 years ago. Updated over 7 years ago.

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

100%

Estimated time:
6.00 h

Description

In IntegrationTests, develop a scenario for automatic prefix propagation.

The old remote prefix registration scenario should be removed at the same time.

Topology

A---B

IPv4 UDP tunnel is used.

Steps

  1. generate certificates:
    • 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/F self-signed
  2. configure NFD on A:
    • enable automatic prefix propagation
    • set automatic prefix propagation refresh time to 15 seconds
    • put all certificates generated in step 1 except ndn:/Z/A into NFD's KeyChain
  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 and ndn:/Z/D trust anchors for prefix registration using ndn:/localhop/nfd/rib command prefix
    • set multicast strategy for ndn:/
  4. start NFD 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/G toward A exists, 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/H toward A exists, 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/B/C toward A exists, fail the test case if route for ndn:/Z/A toward A does not exist
  21. defer 80 seconds
  22. inspect RIB on B, fail the test case if route for ndn:/Z/A toward A does not exist
  23. start ndnpingserver for ndn:/Z/F/I on A, defer 5 seconds
  24. inspect RIB on B, fail the test case if route for ndn:/Z/F toward A exists

Files

20160204001413.tgz (161 KB) 20160204001413.tgz integ 2675,1 Junxiao Shi, 02/03/2016 05:33 PM
20160305183252.tgz (169 KB) 20160305183252.tgz integ 2675,4 Junxiao Shi, 03/05/2016 07:21 PM
20160317195633.tgz (173 KB) 20160317195633.tgz integ 2675,5 Junxiao Shi, 03/17/2016 02:07 PM
20160410163245.tgz (172 KB) 20160410163245.tgz integ 2675,7 Junxiao Shi, 04/10/2016 06:15 PM
20160410224219.tgz (170 KB) 20160410224219.tgz integ 2706,6 Junxiao Shi, 04/10/2016 06:15 PM

Related issues 3 (0 open3 closed)

Blocked by NFD - Feature #3211: Redesign of remote prefix registrationClosedYanbiao Li

Actions
Blocked by NFD - Feature #2201: Remote prefix registration test scenarioClosedYanbiao Li

Actions
Blocks NFD - Bug #3825: Automatic prefix propagation scenario: Cannot read certificateClosedYanbiao Li10/23/2016

Actions
Actions #1

Updated by Junxiao Shi over 8 years ago

  • Assignee set to Junxiao Shi

As usual, I'll put up the design, but implementation should be re-assigned.

Actions #2

Updated by Junxiao Shi over 8 years ago

  • Blocked by Feature #3211: Redesign of remote prefix registration added
Actions #3

Updated by Junxiao Shi over 8 years ago

  • Blocked by Feature #2201: Remote prefix registration test scenario added
Actions #4

Updated by Junxiao Shi over 8 years ago

  • Description updated (diff)
  • Assignee deleted (Junxiao Shi)
Actions #5

Updated by Junxiao Shi over 8 years ago

  • Assignee set to Yanbiao Li

Yanbiao offers to start working on Dec 10.
20151117 conference call accepts his offer.

Actions #6

Updated by Yanbiao Li over 8 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Yanbiao Li about 8 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #11

Updated by Yanbiao Li about 8 years ago

just summarized our discussions on gerrit:

1/ step 12 is incomplete, we should also make sure that /Z/A/G is not present.

2/ step 14 is unnecessary. But Alex suggested to repeat step 12 here (change /Z/A/G to /Z/A/H). I agreed with this.

Actions #12

Updated by Junxiao Shi about 8 years ago

  • Description updated (diff)
Actions #14

Updated by Junxiao Shi almost 8 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions #15

Updated by Junxiao Shi over 7 years ago

  • Status changed from Closed to Feedback

This scenario is failing today.
https://redmine.named-data.net/attachments/download/660/20160829210541.tgz

It seems that NFD is trying to read a non-existent certificate, which indicates an implementation problem.

Actions #16

Updated by Davide Pesavento over 7 years ago

  • Status changed from Feedback to Closed

Junxiao Shi wrote:

This scenario is failing today.
https://redmine.named-data.net/attachments/download/660/20160829210541.tgz

It seems that NFD is trying to read a non-existent certificate, which indicates an implementation problem.

Open a new issue please.

Actions #17

Updated by Junxiao Shi over 7 years ago

  • Blocks Bug #3825: Automatic prefix propagation scenario: Cannot read certificate added
Actions

Also available in: Atom PDF