<div dir="ltr">Hi Salvatore,<div><br></div><div>Here is a brief history that maybe of interest to you. nlsr for ccnx can be controlled by CLI or remotely. It does so by listening on a port on which it accepts commands and process them. The '-p <port number>' switch was introduced to change the default port on which it listens for this.  </div>
<div>nlsr for nfd doesn't support this feature. The consensus was to use Interest/Data model for the communication between nfd and routing protocols(like nlsr). Plus, this functionality should be provided to all routing protocols (not just nlsr). As a result, we added two new commands, <b>advertise </b> and <b>withdraw</b> in the RibManager, which will allow to specify the routing protocol for disseminating the name prefixes. However, these commands are not supported yet.  </div>
<div><br></div><div>Regards,</div><div>Obaid</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 5, 2014 at 9:43 AM, Salvatore Signorello <span dir="ltr"><<a href="mailto:unict.signorello@gmail.com" target="_blank">unict.signorello@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you both,<br>
<br>
I'm looking at the following documentation to get know the RIB<br>
management<br>
<a href="http://redmine.named-data.net/projects/nfd/wiki/Management" target="_blank">http://redmine.named-data.net/projects/nfd/wiki/Management</a><br>
, if you want to point me more resources, I would be glad.<br>
<br>
If I grep the NFD main directory looking for 'advertise', I find no<br>
trace of this command, where should it be?<br>
<br>
Best,<br>
Salvo<br>
<div class="HOEnZb"><div class="h5">On Tue, 2014-08-05 at 06:55 -0700, Junxiao Shi wrote:<br>
> Hi Hoque<br>
><br>
> Instead of opening an "API client port", I suggest NLSR to use an<br>
> Interest-Data based protocol.<br>
><br>
> NFD RIB Management protocol contains "advertise" and "unadvertise"<br>
> commands that are probably related to this purpose.<br>
><br>
> Yours, Junxiao<br>
><br>
> On Aug 5, 2014 6:51 AM, "A K M Mahmudul Hoque (ahoque1)"<br>
> <<a href="mailto:ahoque1@memphis.edu">ahoque1@memphis.edu</a>> wrote:<br>
> >  - as option for launching the nlsr daemon they provide '-p' to<br>
> specify<br>
> > > the "port where api client will connect" (nlsr's usage output). I<br>
> looked<br>
> > > at the code, but I'm not able to find out if they've already<br>
> > > implemented/used this functionality. Could you please provide me<br>
> any<br>
> > > hint about its aim/meaning?<br>
> ><br>
> ><br>
> > --- It will be implemented in future. The aim of this one to tell<br>
> NLSR to advertise prefix,<br>
> > --- or even adding neighbors without taking down NLSR. Not only that<br>
> this API can be<br>
> > --- used to remove old prefixes link that are no longer valid. The<br>
> objective is to do those<br>
> > --- things without taking shutting down NLSR<br>
><br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
</div></div></blockquote></div><br></div>