<div>hmmm... A<span style="color:#444444;font-family:arial,sans-serif;font-size:small;line-height:16px;">šfirst thought did cross my mind :š</span><span style="color:#444444;font-family:arial,sans-serif;font-size:small;line-height:16px;"><br /></span></div><div><p style="margin:0px;font-size:11px;font-family:Monaco;"><span style="color:#006141;">Ptr</span><<span style="color:#006141;">L3Protocol</span>> ndn = r1->GetObject<<span style="color:#006141;">L3Protocol</span>> ();</p><p style="margin:0px;font-size:11px;font-family:Monaco;"><span style="color:#006141;">Ptr</span><<span style="color:#006141;">Face</span>> face = ndn->GetFace (0);</p><p style="margin:0px;font-size:11px;font-family:Monaco;"><span style="color:#006141;">Ptr</span><<span style="color:#006141;">NetDeviceFace</span>> ndf = DynamicCast<<span style="color:#006141;">NetDeviceFace</span>>(face);</p><p style="margin:0px;font-size:11px;font-family:Monaco;"><span style="color:#006141;">Ptr</span><<span style="color:#006141;">NetDevice</span>> nd = ndf->GetNetDevice();</p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;">Ptr<span style="color:#000000;"><</span>PointToPointNetDevice<span style="color:#000000;">> p2pnd = StaticCast<</span>PointToPointNetDevice<span style="color:#000000;">> (nd);</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;"><span style="color:#000000;">p2pnd->SetAttribute("TxQueue", "ns3::DropTailQueue");</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;">š</p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;"><span style="color:#000000;">But I guess there is a simpler way to do it... :-)</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;">š</p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;"><span style="color:#000000;">Natalya</span></p></div><div>š</div><div>14.07.2013, 06:47, "Alex Afanasyev" <alexander.afanasyev@ucla.edu>:</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>