<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Amin,</div><div><br></div><div>I is possible, but it depends on the forwarding strategy to deliver Interests to different producers.  For example, if you choose ns3::ndn::fw::BestRoute, then Interests will only be delivered over the "shortest-metric" path and some of the producers will never see the Interests.   If you use ns3::ndn::fw::Flooding, then all of the producers will receive Interests and it would depend on network topology (delays/losses) content object from which exactly producer will reach the consumer.</div><div><br></div><div>In case if you have several consumers, depending on topology and forwarding strategy, they may be getting content objects from different producers.</div><div><br></div><div>If you want only some Interests be satisfied by one producers and other by another, you may need to amend ndn::Producer implementation (or better create a new custom Producer app) by adding the appropriate logic.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Mar 31, 2013, at 11:35 AM, Amin Karami <<a href="mailto:amin@ac.upc.edu">amin@ac.upc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi friends,<br>
    Is it possible to satisfy sent Interests from a consumer with more
    than one producer?<br>
    for example, does the following code work correctly to satisfy
    Interests in /dst1 namespace with three producers?<br>
    <pre style="overflow-x: auto; overflow-y: hidden; padding: 5px; line-height: 14px; border-top-width: 1px; border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(170, 204, 153); border-bottom-color: rgb(170, 204, 153); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="hll" style="background-color: rgb(255, 255, 136);"><span class="n">  ndnGlobalRoutingHelper</span><span class="p">.</span><span class="n">AddOrigins</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">,</span> <span class="n">producer1</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">SetPrefix</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">Install</span> <span class="p">(</span><span class="n">producer1</span><span class="p">);
</span> </span>
<span class="hll" style="background-color: rgb(255, 255, 136);"><span class="n">  ndnGlobalRoutingHelper</span><span class="p">.</span><span class="n">AddOrigins</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">,</span> <span class="n">producer2</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">SetPrefix</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">Install</span> <span class="p">(</span><span class="n">producer2</span><span class="p">);</span></span>

<span class="hll" style="background-color: rgb(255, 255, 136);"><span class="n">  ndnGlobalRoutingHelper</span><span class="p">.</span><span class="n">AddOrigins</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">,</span> <span class="n">producer3</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">SetPrefix</span> <span class="p">(</span><span class="s" style="color: rgb(64, 112, 160);">"/dst1"</span><span class="p">);</span>
</span><span class="hll" style="background-color: rgb(255, 255, 136);">  <span class="n">producerHelper</span><span class="p">.</span><span class="n">Install</span> <span class="p">(</span><span class="n">producer3</span><span class="p">);</span></span>

</pre>
    <br>
    Best Regards,<br>
    /Amin<br>
    <br>
  </div>

_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>