Project

General

Profile

Actions

Feature #3211

closed

Redesign of remote prefix registration

Added by Yanbiao Li about 9 years ago. Updated about 9 years ago.

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

100%

Estimated time:

Description

  1. rename Remote Registration to Automatic Prefix Propagation.

    REASON: the term "Remote" may confuse others, while "Automatic Propagation" impresses what this feature works.

  2. eliminate two interfaces: registerPrefix / uregisterPrefix.

    REASON: registration and unregistration processes are triggered by corresponding signals of Rib automatically, their entrances should not be exposed.

  3. select the shortest available identity to register remotely, rather than the longest one.

    REASON: to reduce the number of registered entries.

    NOTE: no registration flag will be inherited from local RIB entries. The default setting (i.e, CHILD INHERIT) takes effect.

  4. introduce a resendRegCommand method shared by refreshing, retrying or redoing (after hub connect) registrations and improve the mechanism.

    REASON1: refreshing, retrying, redoing registrations all require to resend the registration commands.

    REASON2: before resending commands, there may be new identities inserted or existing identities erased. This scenario was not covered before.

  5. introduce a RemoteRegisteredEntry class and a state machine to maintain registered entries.

  6. maintain potential registered entries when there is no connectivity (fix #2413)

  7. correct the action when registration succeeds but the registered entry does not exist.

  8. adopt an exponential back-off strategy as the retry policy after registration fails, instead of performing limited number of retries.

  9. cover the case when unregistration succeeds but an entry with the same name exists.

  10. redesign the test suite.


Files

transition-table.pdf (21.6 KB) transition-table.pdf list all events, transitions and actions Yanbiao Li, 09/19/2015 12:17 AM
propagation-state-machine.pdf (56.3 KB) propagation-state-machine.pdf describe the state machine for propagated entries Yanbiao Li, 09/19/2015 12:17 AM

Related issues 2 (0 open2 closed)

Related to NFD - Bug #2413: Remote prefix registration: prefix is not registered if app starts before HUB connectionClosedYanbiao Li01/25/2015

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

Actions
Actions #1

Updated by Yanbiao Li about 9 years ago

  • Assignee set to Yanbiao Li
Actions #2

Updated by Yanbiao Li about 9 years ago

  • Related to Bug #2413: Remote prefix registration: prefix is not registered if app starts before HUB connection added
Actions #3

Updated by Yanbiao Li about 9 years ago

  • Description updated (diff)
Actions #4

Updated by Yanbiao Li about 9 years ago

  • Description updated (diff)
Actions #5

Updated by Junxiao Shi about 9 years ago

  • Description updated (diff)
  • Category set to RIB
  • Target version set to v0.4
  • Start date deleted (09/17/2015)

Updated by Yanbiao Li about 9 years ago

Actions #7

Updated by Junxiao Shi about 9 years ago

  • Blocks Feature #3218: Automatic prefix propagation test scenario added
Actions #8

Updated by Junxiao Shi about 9 years ago

NFD Developer Guide and ConfigFileFormat wiki page should be updated as part of this issue.

The change of ConfigFileFormat is backwards-incompatible.
Therefore, it's necessary to send a breaking change notification to ndn-app and nfd-dev mailing lists, and wait 5 days before merging the commit.

Actions #9

Updated by Junxiao Shi about 9 years ago

Notice was sent on Sep 23. However, the notification isn't correctly delivered to ndn-app mailing list, and fails to warn about the breaking change. Therefore, another notice is necessary before merging.

Actions #10

Updated by Alex Afanasyev about 9 years ago

I've sent a new notice to nfd-dev. The change is not related to apps, so I did not forward it to ndn-app.

Actions #11

Updated by Junxiao Shi about 9 years ago

  • % Done changed from 90 to 100

NFD Developer Guide has been updated in nfd-docs:commit:5897967cb62c37c7c80859f84a3e797cb36d27a1.

Actions #12

Updated by Junxiao Shi about 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF