<html><head><meta http-equiv="Content-Type" content="text/html charset=koi8-r"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Natalya,<div><br></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><br></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><br></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 class="Apple-interchange-newline"><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: rgb(0, 97, 65); "><span style="">  </span>ObjectFactory<span style=""> factory;</span></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255); "><span style="">  factory.SetTypeId(</span>"ns3::PointToPointNetDevice"<span style="">);</span></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255); "><span style="">  </span><span style="color:#006141;">Ptr</span><span style=""><</span><span style="color:#006141;">PointToPointNetDevice</span><span style="">> devA = factory.Create<</span><span style="color:#006141;">PointToPointNetDevice</span><span style="">> ();</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>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>