https://redmine.named-data.net/https://redmine.named-data.net/favicon.ico?14759811232018-06-19T14:46:07ZNDN project issue tracking systemmini-ndn - Task #4638: Allow manual specification of experiment module in ExperimentManagerhttps://redmine.named-data.net/issues/4638?journal_id=234962018-06-19T14:46:07ZAshlesh Gawande
<ul></ul><p>Is this issue related to porting nfd integration tests? I don't see usage on the gerrit change. </p>
<p>Another thing is that result directory is made specifically for NLSR experiments - we should also remove that to make mini-ndn more general.</p>
mini-ndn - Task #4638: Allow manual specification of experiment module in ExperimentManagerhttps://redmine.named-data.net/issues/4638?journal_id=234972018-06-19T14:54:37ZAlexander Lane
<ul></ul><p>Ashlesh Gawande wrote:</p>
<blockquote>
<p>Is this issue related to porting nfd integration tests? I don't see usage on the gerrit change. </p>
<p>Another thing is that result directory is made specifically for NLSR experiments - we should also remove that to make mini-ndn more general.</p>
</blockquote>
<p>This is actually something which effects Mini-NDN-Wifi most directly, although now that you mention it would be excellent to use it with the NFD integration tests.</p>
<p>And agreed, I'll tweak that.</p>
mini-ndn - Task #4638: Allow manual specification of experiment module in ExperimentManagerhttps://redmine.named-data.net/issues/4638?journal_id=234992018-06-20T08:54:04ZAshlesh Gawande
<ul></ul><p>How is this used Mini-NDN-Wifi?<br>
Can't we just store all the experiments in sub folders within ndn.experiments and recurse through it?<br>
Where will the experiment manager be set - in bin/minindn? Would it be set from a command line argument?</p>
mini-ndn - Task #4638: Allow manual specification of experiment module in ExperimentManagerhttps://redmine.named-data.net/issues/4638?journal_id=235002018-06-20T09:39:40ZAlexander Lane
<ul></ul><p>Ashlesh Gawande wrote:</p>
<blockquote>
<p>How is this used Mini-NDN-Wifi?<br>
Can't we just store all the experiments in sub folders within ndn.experiments and recurse through it?<br>
Where will the experiment manager be set - in bin/minindn? Would it be set from a command line argument?</p>
</blockquote>
<p>In order to accomplish the task of separating out the Mini-NDN-Wifi and Mini-NDN libraries, which will decrease maintenance time significantly, we would necessarily need to have the Mini-NDN-Wifi files in a separate module which does not overlap with that of Mini-NDN. The downside is that experiment_manger presently hardcodes imports to be from Mini-NDN (<a href="https://github.com/named-data/mini-ndn/blob/master/ndn/experiment_manager.py#L42">https://github.com/named-data/mini-ndn/blob/master/ndn/experiment_manager.py#L42</a>), which means that we are forced to create a duplicate (or wrapper class) in Mini-NDN-Wifi to change this one line. This adds maintenance burden for any changes made to experiment_manager or any other derivative code.</p>
<p>In regards to your second point, this would require redistributing Mini-NDN-Wifi experiments with vanilla Mini-NDN or redistributing modified Mini-NDN code with Mini-NDN-wifi (egg module files are compressed and cannot be easily altered).</p>
<p>To your third point, the former seems most likely. A command line option would be doable potentially but would need to be structured so it didn't cause regressions when interacting with other arguments.</p>