Project

General

Profile

Actions

Bug #2479

closed

Prefix discovery protocol: change Name of routable-prefixes packet

Added by Alex Afanasyev almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Protocol
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Local prefix discovery protocol is now defined here: http://named-data.net/doc/NFD/current/misc/local-prefix-discovery.html

Essentially, hub publishes data packet with /localhop/ndn-autoconf/routable-prefixes prefix. However, this prefix is not registered (permanently) and should not be registered (permanently) by ndn-autoconfig client.

The protocol needs to be changed, so such prefix is published under /localhop/nfd or some other prefix that match prefix permanently registered during run of ndn-autoconfig.


Related issues 2 (1 open1 closed)

Related to NFD - Feature #3145: Collect and publish routable-prefixesNew

Actions
Blocks NFD - Feature #2512: ndn-autoconf-server: publish routable-prefixes as a StatusDatasetClosedMinsheng Zhang02/16/201502/18/2015

Actions
Actions #1

Updated by Junxiao Shi almost 10 years ago

Local prefix discovery protocol is now defined here: http://named-data.net/doc/NFD/current/misc/local-prefix-discovery.html

Is HubDiscovery wiki page deprecated?

If so, clear the contents and replace with a link to the canonical page.

Essentially, hub publishes data packet with /localhop/ndn-autoconf/routable-prefixes prefix. However, this prefix is not registered (permanently) and should not be registered (permanently) by ndn-autoconfig client.

The protocol needs to be changed, so such prefix is published under /localhop/nfd or some other prefix that match prefix permanently registered during run of ndn-autoconfig.

Are you suggesting that routable-prefixes should be published under a prefix owned by NFD Management protocol?

I suggest using /localhop/nfd/rib/routable-prefixes. The rib component reflects that the set of routable prefixes is a property of the RIB on the gateway router.

In impl, ndn-autoconf-server can create Route /localhop/nfd/rib/routable-prefixes with CAPTURE flag.

Actions #2

Updated by Alex Afanasyev almost 10 years ago

Hub discovery wiki is not related to discovery of routable prefixes. As of right now, it is just a copy of the documentation and doesn't contradicts (rather combines several) NFD manpages.

I'm ok with any prefix. /localhop/nfd/rib/routable-prefixes could be ok

Actions #3

Updated by Junxiao Shi almost 10 years ago

ndn:/localhop/nfd is the namespace for NFD Management protocol. If routable-prefixes is under this namespace, it should be published as a StatusDataset.

diff from ndn:/localhop/ndn-autoconf/routable-prefixes is: Data Name has a segment number component.

On a higher level, fetching routable-prefixes Data packet doesn't need a Route. Instead, NextHopFaceId can be used to direct the Interest to the multicast face.

Actions #4

Updated by Junxiao Shi almost 10 years ago

  • Subject changed from Prefix discovery protocol needs an update to Prefix discovery protocol: change Name of routable-prefixes packet
  • Assignee set to Junxiao Shi
  • Target version changed from v0.3 to v0.4
  • Estimated time set to 0.50 h

20150211 conference call approves the idea in note-3.

This solution can only support one connected gateway router.

The eventual solution could be:

  1. gateway router exposes its management API under ndn:/localhop/spurs/nfd instead of ndn:/localhop/nfd
  2. tunnel authentication protocol discovers the prefix of gateway router ('spurs' in the example); tunnel authentication protocol itself will need to use NextHopFaceId field
  3. laptop's RIB daemon collects routable prefixes from all connected gateway routers (ndn:/localhop/spurs/nfd/rib/routable-prefixes + ndn:/localhop/hobo/nfd/rib/routable-prefixes + ...)
  4. apps learn routable prefixes from laptop's RIB daemon at ndn:/localhost/nfd/rib/routable-prefixes as a StatusDataset
Actions #5

Updated by Junxiao Shi almost 10 years ago

  • Blocks Feature #2512: ndn-autoconf-server: publish routable-prefixes as a StatusDataset added
Actions #6

Updated by Junxiao Shi almost 10 years ago

  • Status changed from New to In Progress

For now I'll describe the protocol in local-prefix-discovery.rst without mentioning StatusDataset.

Eventually the protocol will be part of Management.

Actions #7

Updated by Junxiao Shi almost 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #8

Updated by Junxiao Shi almost 10 years ago

http://gerrit.named-data.net/1768

One small difference caused by not referencing StatusDataset is: each segment must contain complete Names; a Name cannot be split across two segments.
I don't think this is a big problem for now.

Actions #9

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Code review to Resolved

Documentation update is complete, but reviewer suggests that #2512 should merge before this issue's Change.

Actions #10

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Resolved to Closed
Actions #11

Updated by Junxiao Shi over 9 years ago

  • Related to Feature #3145: Collect and publish routable-prefixes added
Actions #12

Updated by Junxiao Shi over 9 years ago

The "eventual solution" in note-4 is written as #3142 #3145.

Actions

Also available in: Atom PDF