Project

General

Profile

Actions

Feature #4869

closed

Support specifying a different Origin in route registration command

Added by Davide Pesavento over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

For instance, a producer may want to set origin=65 (client) to enable readvertise-to-nlsr for the prefix being registered.

See https://redmine.named-data.net/projects/nfd/wiki/RibMgmt for the protocol details.


Related issues 1 (1 open0 closed)

Blocks NDN-CCL - Feature #2576: ForwardingFlags should be removedNewJeff Burke

Actions
Actions #1

Updated by Anonymous over 5 years ago

  • Status changed from New to Feedback
Actions #2

Updated by Anonymous over 5 years ago

  • Assignee set to Anonymous
Actions #3

Updated by Anonymous over 5 years ago

Changes are pushed to PyNDN2. In the registerPrefix command, you specify the flags argument. For example, ForwardingFlags().setOrigin(65) . Davide has tested it in Python.

Actions #4

Updated by Anonymous over 5 years ago

Since it now carries more options than just flags, the ForwardingFlags class should be renamed to RegistrationOptions (and may carry more options in the future).

Actions #5

Updated by Anonymous over 5 years ago

Hi Davide. ForwardingFlags is renamed to RegistrationOptions.
https://github.com/named-data/PyNDN2/blob/master/python/pyndn/registration_options.py#L28

Do you want to try it in your code?

Actions #6

Updated by Anonymous over 5 years ago

Actions #7

Updated by Anonymous over 5 years ago

Changes are pushed to master in all libraries to rename ForwardingFlags to RegistrationOptions and support getOrigin() in registerPrefix.

Actions #8

Updated by Anonymous over 5 years ago

  • Status changed from Feedback to Closed
Actions #9

Updated by Davide Pesavento over 5 years ago

Jeff Thompson wrote:

Hi Davide. ForwardingFlags is renamed to RegistrationOptions.
https://github.com/named-data/PyNDN2/blob/master/python/pyndn/registration_options.py#L28

Do you want to try it in your code?

Sorry for the delay. Tried today with PyNDN v2.10beta1-58-g2412131, works fine. Thanks.

There is a typo on the doc page: "Set the child selector"

Actions #10

Updated by Anonymous over 5 years ago

Thanks. I fixed the typo.

Actions

Also available in: Atom PDF