<div>thanks, Alex!</div><div>š</div><div>Natalya</div><div>š</div><div>15.07.2013, 05:39, "Alex Afanasyev" <alexander.afanasyev@ucla.edu>:</div><blockquote type="cite">Hi Natalya,<div>š</div><div>I have pushed a commit that implements ability to specify custom queue and queue parameters in topology file (<a href="https://github.com/NDN-Routing/ndnSIM/commit/0aa1136514f2d2ab72d28c949c36050a5d56c336">https://github.com/NDN-Routing/ndnSIM/commit/0aa1136514f2d2ab72d28c949c36050a5d56c336</a>). šNote that queue type and parameters are set the same for both ends.</div><div>š</div><div>Also, the change required a small API update in the base NS-3, so you will need to update you NS-3 as well (there is one new commit).</div><div>š</div><div>---</div><div>Alex</div><div><br /><div><div>On Jul 13, 2013, at 5:38 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</div><br /><blockquote type="cite"><div>Probably, set up it like that would be more correct:</div><div><div style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;"><span>šš</span>ObjectFactory<span> factory;</span></div><div style="margin:0px;font-size:11px;font-family:Monaco;color:#3933ff;"><span>š factory.SetTypeId(</span>"ns3::PointToPointNetDevice"<span>);</span></div><div style="margin:0px;font-size:11px;font-family:Monaco;color:#3933ff;"><span>šš</span><span style="color:#006141;">Ptr</span><span><</span><span style="color:#006141;">PointToPointNetDevice</span><span>> devA = factory.Create<</span><span style="color:#006141;">PointToPointNetDevice</span><span>> ();</span></div><div style="margin:0px;font-size:11px;font-family:Monaco;">š devA->SetAddress (<span style="color:#006141;">Mac48Address</span>::Allocate ());</div><div style="margin:0px;font-size:11px;font-family:Monaco;">š nodes.Get (1)->AddDevice (devA);</div><p style="margin:0px;font-size:11px;font-family:Monaco;">š</p><div style="margin:0px;font-size:11px;font-family:Monaco;">š factory.SetTypeId(<span style="color:#3933ff;">"ns3::DropTailQueue"</span>);</div><div style="margin:0px;font-size:11px;font-family:Monaco;">š <span style="color:#006141;">Ptr</span><<span style="color:#006141;">Queue</span>> queueA = factory.Create<<span style="color:#006141;">Queue</span>> ();</div><div style="margin:0px;font-size:11px;font-family:Monaco;">š devA->SetQueue (queueA);</div></div><div>š</div><div>Natalyaš</div><div>š</div><div>14.07.2013, 06:47, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>>:</div><blockquote type="cite"><div>Can you give me some examples of how would you set different queue types, if you create topology manually?</div><div>š</div><div>---</div><div>Alex</div><br /><div><div>On Jul 13, 2013, at 4:45 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</div><br /><blockquote type="cite"><div>Yes, ideally I wanted to use different types on different nodes...</div><div>š</div><div>Natalya</div><div>š</div><div>š</div><div>14.07.2013, 06:39, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>>:</div><blockquote type="cite"><p>Do you need to specify different queue types on different nodes?<br /><br />In any case, setting queue types is not yet supported, but could be easily added.<br /><br />---<br />Alex<br /><br />On Jul 13, 2013, at 4:06 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</p><blockquote>šHi Alex,<br /><br />šIs it possible to specify the queue type using topology reader? If so, how could I do it?<br /><br />šThanks,<br />šNatalya</blockquote></blockquote>_______________________________________________<br />ndnSIM mailing list<br /><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br /><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></blockquote></div></blockquote>_______________________________________________<br />ndnSIM mailing list<br /><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br /><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></blockquote></div></div></blockquote>