Project

General

Profile

Actions

Bug #5018

open

Attach PrefixAnnouncement to Data if needed in afterContentStoreHit

Added by Teng Liang about 5 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Forwarding
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The current self-learning forwarding strategy uses the default Strategy::afterContentStoreHit trigger when an Interest can be satisfied by the CS, which simply sends the Data back. However, it is possible that the Data in CS does not carry a Prefix Announcement, but the Interest is a discovery Interest. Therefore, this task is to add actions in SelfLearningStrategy::afterContentStoreHitto handle this case. In particular,

  • Self-learning needs to check if the incoming Interest is "discovery", and if the returned Data carries a Prefix Announcement
  • If the above checks indicate that a Prefix Announcement is needed, SelfLearningStrategy::asyncProcessData is invoked.
Actions #1

Updated by Teng Liang about 5 years ago

  • Tags set to SelfLearning
  • Category set to Forwarding
Actions #2

Updated by Davide Pesavento about 5 years ago

  • Tracker changed from Task to Bug
  • Subject changed from Self-learning: attach PrefixAnnouncement to Data if needed in the afterContentStoreHit trigger to Attach PrefixAnnouncement to Data if needed in afterContentStoreHit
  • Start date deleted (10/09/2019)
Actions #3

Updated by Davide Pesavento 11 months ago

  • Tags changed from SelfLearning to self-learning
  • Assignee deleted (Teng Liang)
Actions

Also available in: Atom PDF