Feature #2201
Updated by Junxiao Shi almost 10 years ago
Develop an [integration test](http://gerrit.named-data.net/#/admin/projects/NFD/integration-tests) 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:/A self-signed * ndn:/A/nrd signed by ndn:/A * ndn:/A/B/C signed by ndn:/A * ndn:/A/B/C/D/E/nrd signed by ndn:/A/B/C * ndn:/F self-signed 2. configure NFD on A: * set remote registration refreshing time to 15 seconds 3. configure NFD on B: * make ndn:/A a trust anchor for remote registration * set UDP face timeout to 35 seconds 4. start NFD (including RIB Daemon) on A,B 5. start ndnpingserver for ndn:/A/G on A, defer 5 seconds 6. inspect RIB on B, fail the test case if Route for ndn:/A toward A does not exist 7. start ndnpingserver for ndn:/A/H on A, defer 5 seconds 8. inspect RIB on B, fail the test case if Route for ndn:/A toward A does not exist 9. stop ndnpingserver from step 5, defer 5 seconds 10. inspect RIB on B, fail the test case if Route for ndn:/A toward A does not exist 11. stop ndnpingserver from step 7, defer 5 seconds 12. inspect RIB on B, fail the test case if Route for ndn:/A toward A exists 13. start ndnpingserver for ndn:/A/B/C/D on A, defer 5 seconds 14. inspect RIB on B, fail the test case if Route for ndn:/A toward A does not exist, fail the test case if Route for ndn:/A/B/C toward A exists 15. stop ndnpingserver from step 13 16. start ndnpingserver for ndn:/A/B/C/D/E on A, defer 5 seconds seocnds 17. inspect RIB on B, fail the test case if Route for ndn:/A toward A exists, fail the test case if Route for ndn:/A/B/C/D/E toward A does not exist 18. defer 45 seconds 19. inspect RIB on B, fail the test case if Route for ndn:/A/B/C/D/E toward A does not exist 20. start ndnpingserver for ndn:/F/I on A, defer 5 seconds 21. inspect RIB on B, fail the test case if Route for ndn:/F or ndn:/F/I toward A exists