Feature #3211
closedRedesign of remote prefix registration
100%
Description
rename Remote Registration to Automatic Prefix Propagation.
REASON: the term "Remote" may confuse others, while "Automatic Propagation" impresses what this feature works.eliminate two interfaces: registerPrefix / uregisterPrefix.
REASON: registration and unregistration processes are triggered by corresponding signals of Rib automatically, their entrances should not be exposed.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.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.introduce a RemoteRegisteredEntry class and a state machine to maintain registered entries.
maintain potential registered entries when there is no connectivity (fix #2413)
correct the action when registration succeeds but the registered entry does not exist.
adopt an exponential back-off strategy as the retry policy after registration fails, instead of performing limited number of retries.
cover the case when unregistration succeeds but an entry with the same name exists.
redesign the test suite.
Files
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
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
- File propagation-state-machine.pdf propagation-state-machine.pdf added
- File transition-table.pdf transition-table.pdf added
- Status changed from In Progress to Code review
- % Done changed from 0 to 90
Updated by Junxiao Shi about 9 years ago
- Blocks Feature #3218: Automatic prefix propagation test scenario added
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.
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.
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.
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.
Updated by Junxiao Shi about 9 years ago
- Status changed from Code review to Closed