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

Also available in: Atom PDF