Project

General

Profile

Bug #5018

Attach PrefixAnnouncement to Data if needed in afterContentStoreHit

Added by Teng Liang 4 months ago. Updated 3 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.

History

#1

Updated by Teng Liang 4 months ago

  • translation missing: en.field_tag_list set to SelfLearning
  • Category set to Forwarding
#2

Updated by Davide Pesavento 3 months 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)

Also available in: Atom PDF