<div dir="ltr">Hi Klaus<div><br></div><div>20150413 conference call discussed this proposal.</div><div><br></div><div>This proposal is a subset of <a href="http://redmine.named-data.net/issues/2000" target="_blank">#2000 composable strategy building blocks</a>.</div><div>With #2000, an operator can not only pass parameters to a strategy, but also create new strategies. Both can happen at runtime.</div><div>Passing parameters is just a special case of creating new strategies: take an existing strategy, and give it new parameters.</div><div><br></div><div><br></div><div>I believe having strategy parameters is a good direction toward #2000.</div><div>I agree with Alex that parameters should be carried in the Name after the version component, at the <a href="http://redmine.named-data.net/projects/nfd/wiki/StrategyChoice">management protocol</a> level.</div><div>At command line tool level, however, I prefer to accept ccndc syntax as well: operator can either specify parameters as part of the strategy Name, or in separate command line options.</div><div><br></div><div><br></div><div>I disagree with the use case that broadcast strategy generates new Nonces for outgoing Interests, because it can cause persistent Interest loop in <a href="http://redmine.named-data.net/issues/1953">#1953 scenario</a>.</div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 12, 2015 at 6:23 AM, Klaus Schneider <span dir="ltr"><<a href="mailto:klaus.schneider@uni-bamberg.de" target="_blank">klaus.schneider@uni-bamberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi everyone,<br>
<br>
I think it would be a good idea to have (optional) parameters for a forwarding strategy in order to make the design more flexible.<br>
<br>
The CCNx prototype supports this:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
ccndc setstrategy <prefix> <strategy> [<parameters> [<lifetime>]]<br>
</blockquote>
<br>
Unfortunately, there is currently no such option in NFD:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
nfdc set-strategy <namespace> <strategy-name><br>
</blockquote>
<br>
<br>
If you think this is reasonable, I can help with the implementation. I am also not sure if this is the right place for such feature requests or if I should put them up as a redmine ticket?<br>
<br>
Thanks,<br>
Klaus</blockquote></div></div></div></div>