Feature #4285
closed
Added by Junxiao Shi about 7 years ago.
Updated about 6 years ago.
Description
Allow forwarding strategies such as self-learning (#4279) to create FIB entries and FIB next hop records.
These entries and records are deemed temporary; they will expire after a period of time specified by the strategy when inserted, unless renewed by repeating insertion.
A strategy may only create a FIB entry or next hop record if the FIB entry's name prefix is within the strategy's jurisdiction, as indicated in strategy choice table. The temporary FIB entries and next hop records should be deleted when strategy choice is changed.
- Description updated (diff)
This is one of the trickiest issues to implement NDN self-learning. The main difficulty is: NFD-RIB assumes it solely controls the FIB, but this is no longer the case.
Although the experiment code given in #4279-1 lets the strategy itself manage an internal FIB, this isn't allowed as per NFD devguide because strategy must be stateless, otherwise there could be undefined behavior when runtime strategy change occurs.
Furthermore, exposing the temporary FIB to NFD's main FIB provides valuable diagnostic information in fib/list
dataset. Having "strategy's internal FIB" would not allow an operator to observe the complete FIB through nfdc fib list
.
Aren't we already have timeouts on RIB entries? Why it cannot be simply accomplished using short-term RIB entry?
Why it cannot be simply accomplished using short-term RIB entry?
- RIB is in a different thread that forwarding has no access to.
- FIB updates via RIB are asynchronous. Self-learning requires FIB updates to complete synchronously. Otherwise, it would unnecessarily flood a subsequent Interest.
- Assignee deleted (
Yanbiao Li)
- Target version deleted (
v0.7)
This should be rejected if self-learning is going to use a different mechanism (i.e. measurements table entries).
- Status changed from New to Rejected
Also available in: Atom
PDF