<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Note that this feature is not available in NFD master yet.</p>
<p style="margin-top:0;margin-bottom:0">I added this to help test some things quickly on the testbed.</p>
<p style="margin-top:0;margin-bottom:0">(<a href="https://github.com/agawande/NFD/tree/asf-param-over-release" class="OWAAutoLink" id="LPlnk844678" previewremoved="true">https://github.com/agawande/NFD/tree/asf-param-over-release</a></p>
<p style="margin-top:0;margin-bottom:0"><a href="https://launchpad.net/~agawande/+archive/ubuntu/named-data-exp" class="OWAAutoLink" id="LPlnk391912" previewremoved="true">https://launchpad.net/~agawande/+archive/ubuntu/named-data-exp</a>)<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Ashlesh<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nfd-dev <nfd-dev-bounces@lists.cs.ucla.edu> on behalf of Junxiao Shi <shijunxiao@email.arizona.edu><br>
<b>Sent:</b> Tuesday, November 28, 2017 12:24:51 PM<br>
<b>To:</b> Klaus Schneider<br>
<b>Cc:</b> <nfd-dev@lists.cs.ucla.edu><br>
<b>Subject:</b> Re: [Nfd-dev] Question about setting strategy parameters</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Klaus
<div><br>
</div>
<div>You can specify strategy parameters as part of the strategy instance name, after the version component.</div>
<div>Right now, the MEMPHIS router is configured with this strategy instance name: <span style="font-family:monospace,monospace">/localhost/nfd/strategy/asf/%FD%02/n-silent-timeouts%3D2</span></div>
<div>This activates the ASF strategy, and passes version number "2" and parameter
<font face="monospace, monospace">6e 2d 73 69 6c 65 6e 74 2d 74 69 6d 65 6f 75 74 73 3d 32</font> to the strategy.<br>
</div>
<div>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).<br>
</div>
<div><br>
</div>
<div>Yours, Junxiao</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Tue, Nov 28, 2017 at 3:44 AM, Klaus Schneider <span dir="ltr">
<<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Dear Junxiao,<br>
<br>
Eric had a question from <a href="https://redmine.named-data.net/issues/4327#note-38" rel="noreferrer" target="_blank">
https://redmine.named-data.net<wbr>/issues/4327#note-38</a><br>
<br>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
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/conges<wbr>tion-mark/1/1, but I get an error about an unknown
 strategy.<br>
</blockquote>
<br>
Do you know how to set these strategy parameters?<br>
<br>
Best regards,<br>
Klaus<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>