Project

General

Profile

Actions

Bug #2718

closed

ndn-autoconfig manpage doesn't specify which prefixes are automatically registered upon successful discovery of the hub

Added by Alex Afanasyev over 9 years ago. Updated about 9 years ago.

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

100%

Estimated time:

Description

Currently, two prefixes are automatically registered when hub is discovered and connected to:

  • /ndn
  • /localhop/nfd --- this to indicate RIB manager that there is connectivity to the hub
Actions #1

Updated by Alex Afanasyev over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Junxiao Shi over 9 years ago

  • Assignee set to Yumin Xia

Beichuan decides to assign this to Yumin.

Actions #3

Updated by Yumin Xia over 9 years ago

So the work is to add these two lines to the NFD/docs/manpages/ndn-autoconfig.rst file? Which line should I add them or should I figure it out by myself?

Actions #4

Updated by Junxiao Shi over 9 years ago

add these two lines to the NFD/docs/manpages/ndn-autoconfig.rst file?

Yes.

Which line should I add them or should I figure it out by myself?

Have a look at other manpages in NDN projects and other UNIX programs.
The purpose is to make reader understand the behavior.

Actions #5

Updated by Yumin Xia over 9 years ago

I just tried to use 'ndn-autoconfig' in my laptop, after the hub is discovered, the following message showed up:

$ ndn-autoconfig
Trying multicast discovery...
About to connect to: tcp4://131.179.196.46:6363
Successfully created face: ControlParameters(FaceId: 262, Uri: tcp4://131.179.196.46:6363, )
Successful in name registration: ControlParameters(Name: /ndn, FaceId: 262, Origin: 66, Cost: 100, Flags: 1, ExpirationPeriod:
9223372036854775807 milliseconds, )
Successful in name registration: ControlParameters(Name: /localhop/nfd, FaceId: 262, Origin: 66, Cost: 100, Flags: 1,
hExpirationPeriod: 9223372036854775807 milliseconds, )

So, is there something wrong with the task description? should it be '/localhost/nfd' or '/localhop/nfd' ?

Thanks,
Yumin

Actions #6

Updated by Junxiao Shi over 9 years ago

  • Description updated (diff)

Answer to note-5:

It's /localhop/nfd.

Actions #7

Updated by Yumin Xia over 9 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Yumin Xia over 9 years ago

  • Status changed from In Progress to Code review
Actions #9

Updated by Yumin Xia over 9 years ago

  • Status changed from Code review to Closed
Actions #10

Updated by Junxiao Shi over 9 years ago

  • Status changed from Closed to Code review

An issue is to remain open until all Changes have been merged.

Actions #11

Updated by Junxiao Shi about 9 years ago

  • Status changed from Code review to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF