[Nfd-dev] Question about setting strategy parameters

Ashlesh Gawande (agawande) agawande at memphis.edu
Tue Nov 28 10:32:09 PST 2017


Note that this feature is not available in NFD master yet.

I added this to help test some things quickly on the testbed.

(https://github.com/agawande/NFD/tree/asf-param-over-release

https://launchpad.net/~agawande/+archive/ubuntu/named-data-exp)


Ashlesh

________________________________
From: Nfd-dev <nfd-dev-bounces at lists.cs.ucla.edu> on behalf of Junxiao Shi <shijunxiao at email.arizona.edu>
Sent: Tuesday, November 28, 2017 12:24:51 PM
To: Klaus Schneider
Cc: <nfd-dev at lists.cs.ucla.edu>
Subject: Re: [Nfd-dev] Question about setting strategy parameters

Hi Klaus

You can specify strategy parameters as part of the strategy instance name, after the version component.
Right now, the MEMPHIS router is configured with this strategy instance name: /localhost/nfd/strategy/asf/%FD%02/n-silent-timeouts%3D2
This activates the ASF strategy, and passes version number "2" and parameter 6e 2d 73 69 6c 65 6e 74 2d 74 69 6d 65 6f 75 74 73 3d 32 to the strategy.
Remember that version number must be encoded according to the name convention, and parameters are binary (they could look like ASCII/JSON/etc, depending on how the strategy is implemented).

Yours, Junxiao

On Tue, Nov 28, 2017 at 3:44 AM, Klaus Schneider <klaus at cs.arizona.edu<mailto:klaus at cs.arizona.edu>> wrote:
Dear Junxiao,

Eric had a question from https://redmine.named-data.net/issues/4327#note-38

I can't seem to find anything about this in the NFD Developer's Guide: how do I specify parameters to a strategy with nfdc strategy set? I've tried specifying the name as /localhost/nfd/strategy/congestion-mark/1/1, but I get an error about an unknown strategy.

Do you know how to set these strategy parameters?

Best regards,
Klaus



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171128/5075c628/attachment.html>


More information about the Nfd-dev mailing list