Project

General

Profile

Actions

Bug #3011

closed

BroadcastStrategy: strategy name is confusing

Added by Junxiao Shi almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Forwarding
Target version:
Start date:
07/03/2015
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

The broadcast strategy forwards Interests to all nexthops listed in the FIB entry.

This differs from the common understanding of the term broadcast which is expected to forward Interests to all faces even if they are not in the FIB entry.

Therefore, this strategy should be renamed as multicast strategy.


Files

email.pdf (39.7 KB) email.pdf Spyros Mastorakis, 07/07/2015 09:33 PM
20150828170427-2.tgz (151 KB) 20150828170427-2.tgz integ 2403,1 Junxiao Shi, 08/28/2015 11:06 AM

Related issues 1 (0 open1 closed)

Blocks NFD - Task #3206: Delete deprecated BroadcastStrategyClosedJunxiao Shi

Actions
Actions #1

Updated by Spyros Mastorakis almost 9 years ago

What is the target version for this bug? Should I assign it to myself and fix it?

Actions #2

Updated by Junxiao Shi almost 9 years ago

This issue is waiting on Lixia to provide evidence that proves the confusion.

No target version will be set until the proof is in place.

Actions #3

Updated by Spyros Mastorakis almost 9 years ago

I can provide some emails of ndnSIM users having been confused because of that. Actually, I received the last one some days before.

Actions #4

Updated by Junxiao Shi almost 9 years ago

Please post the mailing list links, or attach PDFs to this issue. Two complaints shall be enough.

After that, we can set target version, and make a plan on how to do a backwards-compatible change.

Actions #5

Updated by Spyros Mastorakis almost 9 years ago

This is the most recent related email I received. I will need some time to search the ndnSIM mailing list for a second one.

Actions #6

Updated by Junxiao Shi almost 9 years ago

Reply to note-5: I'll wait for a second complaint before believe the confusion is widespread.

I want to point out that commenting out if (pitEntry->canForwardTo(*outFace)) does not turn the strategy into "pure broadcast" (ie. sending Interest to all faces even if there's no FIB nexthop record).
The strategy is still constrained among FIB nexthop records.
This modification would allow consumer retransmission Interests to go out of all faces listed in FIB nexthop records again, even if the out-record is unexpired.

In fact, "pure broadcast" is unfeasible under current strategy API, but I intend to solve this problem in #2000.

Actions #7

Updated by Spyros Mastorakis over 8 years ago

As we discussed in NFD call 08032015, I talked with two graduate students from the Mobility First project team during the recent FIA Project meeting at MIT. Both of them had looked our codebase and asked me why we broadcast the Interests.

Actions #8

Updated by Junxiao Shi over 8 years ago

  • Assignee set to Junxiao Shi
  • Target version set to v0.4

note-5 and note-7 give sufficient evidence to proceed with this issue.

I'll design the transition plan.

Actions #9

Updated by Junxiao Shi over 8 years ago

  • Status changed from New to In Progress

Design:

  1. NFD code changes:
* Rename `BroadcastStrategy` class to `MulticastStrategy`, and change StrategyName to `ndn:/localhost/nfd/strategy/multicast/%FD%01`.
* Update all unit test cases to refer to `MulticastStrategy`.
* Create `BroadcastStrategy` class that inherits from `MulticastStrategy`, and overrides StrategyName to `ndn:/localhost/nfd/strategy/broadcast/%FD%01`.
  1. Update NFD Developer Guide to refer to "multicast strategy".
  2. Update IntegrationTests to use ndn:/localhost/nfd/strategy/multicast.
  3. Send notification to nfd-dev and operators mailing lists.
  4. Delete BroadcastStrategy class at next release.
Actions #10

Updated by Junxiao Shi over 8 years ago

20150810 conference call approves the design in note-9.

Actions #11

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 0 to 20
Actions #12

Updated by Junxiao Shi over 8 years ago

Reviewer has pointed out that commit:1d470df0da0467dae7888c5474eea134c0a8a533 is missing updates in "nfd.conf.sample.in" and "documentation that references broadcast strategy".

I have identified the following places in NFD repository that references "broadcast":

  • daemon/fw/broadcast-strategy.hpp and its implementation and test suite: intentional, for backwards compatibility
  • nfd.conf.sample.in and daemon/mgmt/tables-config-section.cpp: should be updated
  • tools/ndn-autoconfig/multicast-discovery.cpp: should be updated
  • docs/manpages/nfdc.rst: should be updated
  • docs/RELEASE_NOTES.rst: do not update, to preserve history
Actions #13

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 20 to 40

devguide updated: nfd-docs:commit:d3a11ed2607a7cf2d7b8aeafcd1c28a09ddfbc70

Actions #14

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 40 to 60
Actions #15

Updated by Alex Afanasyev over 8 years ago

I'm getting error (did you push just as a draft?)

Actions #16

Updated by Junxiao Shi over 8 years ago

Reply to note-15: yes, it's a draft which will be published when integ is passing.

Actions #17

Updated by Junxiao Shi over 8 years ago

  • % Done changed from 60 to 80

Notice is sent to nfd-dev and operators.

Given "next release" is expected within a week, I'll keep this issue open for note-9 item 5, instead of creating a new issue.

Actions #18

Updated by Junxiao Shi over 8 years ago

At 20150903 conference call, Alex confirms BroadcastStrategy can be removed before next release.

Actions #19

Updated by Junxiao Shi over 8 years ago

http://gerrit.named-data.net/2444 deletes BroadcastStrategy.

Actions #20

Updated by Junxiao Shi over 8 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 80 to 100
Actions #21

Updated by Junxiao Shi over 8 years ago

  • Blocks Task #3206: Delete deprecated BroadcastStrategy added
Actions #22

Updated by Junxiao Shi over 8 years ago

  • Status changed from Code review to Closed

The removal is split to #3206.

Actions

Also available in: Atom PDF