Project

General

Profile

Actions

Task #1487

closed

Prefix Registration protocol

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Protocol
Target version:
Start date:
04/17/2014
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Define Prefix Registration protocol. This protocol is to be processed by NFD RIB daemon.

Functionality and semantics are same as NRD Prefix Registration protocol, but documentation is rewritten to be similar to NFD Management protocols.


Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Task #1502: RIB Management commandsClosedJunxiao Shi04/18/2014

Actions
Actions #1

Updated by Junxiao Shi over 10 years ago

  • Blocks Task #1490: Update NRD protocol to use ControlParameters as base added
Actions #2

Updated by Anonymous over 10 years ago

Can we update prefix reg to use /localhost/nrd/rib for consistency with the existing management protocols? (mostly adding the "rib" module name component)

Also, Alex mentioned preferring "nfd" instead of "nrd". I'm wondering if there's any benefit to leaving it as "nrd" since it is a separate process. Specifically, using the same NRD with different forwarder implementations.

Actions #3

Updated by Alex Afanasyev over 10 years ago

I'll repeat. I don't see the need for adding additional component. The whole purpose of NRD is to manage RIB, there is no other functionality... At least I'm not seeing it right now.

There is no harm in adding, but not quite sure what the benefit is either.

Actions #4

Updated by Junxiao Shi over 10 years ago

I plan to use namespace: ndn:/localhost/nfd/rib.

Benefits:

  • Blur the concept of NRD: RIB Management is part of NFD, although it's implemented in a separate process.
  • Detect NRD failure
    1. NFD listens on this namespace with highest cost.
    2. When NRD comes up, its FIB entry will capture all Interests, and nothing would go to NFD's listener.
    3. When NRD dies, its FIB entry is gone.
    4. Next command to NRD will go to NFD's listener, which indicates NRD has failed, and NFD should terminate itself.
Actions #5

Updated by Junxiao Shi over 10 years ago

20140417 conference call decides that NFD need not fail upon NRD failure. This should be handled by monitoring infrastructure.

NFD can attached a listener that responds StatusCode=503 to ndn:/localhost/nfd/rib when NRD is not there.

Application should treat such 503 error similarly to a bind(2) failure.

Actions #6

Updated by Junxiao Shi over 10 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Junxiao Shi over 10 years ago

  • Status changed from In Progress to Feedback
  • Start date set to 04/17/2014
  • % Done changed from 0 to 60

RibMgmt revision 1:

  • describe the concept of route
  • give an example of route inheritance
  • define register and unregister commands

I'm unclear about the semantics of advertise and withdraw commands.
I will ask author of NRD protocol to explain.

Actions #8

Updated by Junxiao Shi over 10 years ago

  • Blocks Task #1502: RIB Management commands added
Actions #9

Updated by Junxiao Shi over 10 years ago

  • Blocks deleted (Task #1490: Update NRD protocol to use ControlParameters as base)
Actions #10

Updated by Lan Wang over 10 years ago

In the unregister command, the parameter FaceId is listed as required, but later the description says "If FaceId is omitted or is set to zero, it is implied as the requesting face (self deregistration)." Should FaceId be optional then?

The advertise/withdraw commands are for the operator or a routing protocol to inject a prefix into another routing protocol. For example, the operator may specify in a configuration file that the prefix /ndn/edu/memphis should be advertised by NLSR to other nodes. Then the program that parses this configuration file should generate an advertise command Interest to NRD including the prefix and protocol (NLSR) in this case. The operator may also use command-line tool (e.g. nfdc) to issue the advertise and withdraw commands to NRD.

Actions #11

Updated by Junxiao Shi over 10 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 60 to 100

20140418 conference call reviewed RibMgmt and changes are made.

We decide to leave advertise and withdraw undefined for now.

Actions #12

Updated by Junxiao Shi over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF