<div>Yeah, I think I found the correct face numbers :-)</div><div>Thanks!</div><div>I have another question please, just to ask you for a hint. Sometimes I have a situation when output queue is not empty but dequeue function returns 0 (because of scheduler), in this case if there is no incoming packets, PointToPointNetDevice thinks that this queue is empty and does not call dequeue function anymore(what is logical though). How could I make network device to call dequeue function in this situation?</div><div>š</div><div>Natalya</div><div>š</div><div>05.03.2013, 01:08, "Alex Afanasyev" <alexander.afanasyev@ucla.edu>:</div><blockquote>If you're usingšAnnotatedTopologyReader from the example (<a href="http://ndnsim.net/examples.html#node-2-bottleneck-topology-with-custom-forwarding-strategy">http://ndnsim.net/examples.html#node-2-bottleneck-topology-with-custom-forwarding-strategy</a>), then there you can use yet another version of AddRoute:<div>š</div><div>ndn::StackHelper::AddRoute ("src-node-name", "/prefix", "next-hop-node-name", metric);š</div><div>š</div><div>You can simply modify weights in the example scenario.</div><div>š</div><div>---</div><div>š</div><div>Regarding GlobalRouting controller. šThe currently available method CalculateRoutes calculates only one route per destination. šI have an extended (and highly experimental) version of it that implements a simple heuristic to calculate alternative routes, but you should be very cautious using this method (it can be very time consuming).<br /><div>š</div><div>---</div><div>Alex</div><div><br /><div><div>On Mar 4, 2013, at 9:58 AM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</div><br /><blockquote><div>Hi Alex,</div><div>š</div><div>It was the first thing I tried to do... I'm a little bit confused with the face numeration. I'm trying the differents settings but the routes are not computed correctly. Probably it's my fault. I'd like to use something similar to the topology from your example here <a href="http://ndnsim.net/_images/aafig-64086469224a310d06aeda159c9fd70f5aebbe08.svg">http://ndnsim.net/_images/aafig-64086469224a310d06aeda159c9fd70f5aebbe08.svg</a> and use different metrics for shortest and longest paths at router 1. Does GlobalRouting allow compute this routes and their costs automatically?</div><div>š</div><div>Thanks,</div><div>Natalya</div><div>š</div><div>05.03.2013, 00:38, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>>:</div><blockquote><p>Hi Natalya,<br /><br />When you're using AddRoute, you can use just a numeric face number, instead of a face object. šThis face number is based on device id on the Node, so you can just assume that first NetDevice on this Node will correspond to Face 0, next one to face number 1, etc.<br /><br />Would this work for you?<br /><br />--<br />Alex<br /><br />On Mar 4, 2013, at 2:06 AM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</p><blockquote>šHi Alex,<br /><br />šCould you tell me please how could I configure two or more faces per prefix in FIB entry? Should I use a manual route configuration?<br />šI'm actually using the function AddRoute to manually configure FIB entries like ndn::StackHelper.AddRoute(node, prefix, face, metric). But I'm confused how to access to the face from ns3 script?<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></div></div></blockquote>