<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<ul>
<li>Compile and install NFD again using waf under NFD folder. </li><li>Outside of Mini-NDN, run NFD and try setting the strategy on a name prefix:
<ul>
<li>nfdc strategy set /prefix strategy <strategy-name> </li></ul>
</li><li>The <strategy-name> is the one you set in <span class="pl-en">getStrategyName in your strategy.</span>
<ul>
<li><span class="pl-en">For example, ASF:</span><span class="pl-en"><span class="pl-s"> /localhost/nfd/strategy/asf/%FD%03</span></span>
</li><li><span class="pl-en"><span class="pl-s"><a class="moz-txt-link-freetext" href="https://github.com/named-data/NFD/blob/f48d0809f085b32670b4163328ce88c6cad0291d/daemon/fw/asf-strategy.cpp#L67">https://github.com/named-data/NFD/blob/f48d0809f085b32670b4163328ce88c6cad0291d/daemon/fw/asf-strategy.cpp#L67</a><br>
</span></span></li></ul>
</li><li>If the nfdc command is successful, in Mini-NDN you can call this function with appropriate parameters:<span class="pl-en"></span>
<ul>
<li><span class="pl-en"><a class="moz-txt-link-freetext" href="https://github.com/named-data/mini-ndn/blob/6f7a64fc75065191035141e3a8c33e149bef27f9/ndn/apps/nfdc.py#L66">https://github.com/named-data/mini-ndn/blob/6f7a64fc75065191035141e3a8c33e149bef27f9/ndn/apps/nfdc.py#L66</a><br>
</span></li></ul>
</li></ul>
<p>Ashlesh<br>
</p>
<div class="moz-cite-prefix">On 11/1/18 7:10 AM, sepehr abdous wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAKaOriiR48F4LZe6KMHwY8RZD944h5TkSfBOJZHRCypGwo0uUA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div>Hello all,</div>
<div><br>
</div>
<div>I defined a custom strategy in the mini-ndn/NFD/daemon/fw/ directory.</div>
<div>How can I add my strategy to NFD so that I can use it by nfdc in my mini-ndn experiments?</div>
<div><br>
</div>
<div>Best,</div>
<div>Sepehr<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Mini-NDN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mini-NDN@lists.cs.ucla.edu">Mini-NDN@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>
</pre>
</blockquote>
</body>
</html>