[Nfd-dev] Updating FIB

Junxiao Shi shijunxiao at email.arizona.edu
Tue Apr 29 12:51:17 PDT 2014


Hi Hoque

Apps and routing daemons SHOULD update FIB indirectly by updating RIB.

To update RIB using ndn-cxx:

1. create ndn::nfd::Controller instance
2. populate a ndn::nfd::ControlParameters object with necessary fields
http://redmine.named-data.net/projects/nfd/wiki/RibMgmt
3. invoke controller.start<RibRegisterCommand> or
controller.start<RibUnregisterCommand>

Note: FibAddNextHopCommand SHOULD NOT be used by apps or routing daemons.
It's for internal use by NFD RIB daemon.

Yours, Junxiao
On Apr 29, 2014 12:43 PM, "A K M Mahmudul Hoque (ahoque1)" <
ahoque1 at memphis.edu> wrote:

> Hi Junxiao,
>
> Can you tell how can one application(NLSR) can update nfd's FIB?
> Is there library function available to do that?
>
> Given that NLSR knows the faceId how can NLSR
> 1. Register name prefixes with faceId(s) ?
> 2. Unregister name prefixes with faceId(s)?
>
> Any pointer in the code of NFD/NDN-CXX would be very helpful.
>
> Regards
> Hoque
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140429/3898e835/attachment.html>


More information about the Nfd-dev mailing list