<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>If you're referring to ndn::GlobalRoutingController, then this one looks at the "metric" field of each face, which by default is 1, so you're getting effectively "hop count" routing metric.</div><div><br></div><div>If you configure metric in similar way you do in OSPF (e.g., based on bandwidth), the global routing controller may make different routing decisions.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Nov 11, 2013, at 3:35 AM, <a href="mailto:i.liyanage@surrey.ac.uk">i.liyanage@surrey.ac.uk</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0" id="" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; margin: 0px;">Hi Alex,<div><br></div><div>when generating FIB, does node only look for the hop count.</div><div>Is there any method that looks bandwidth, delay.</div><div><br></div><div>Many thanks,</div><div>Isuru<br><div style="color: rgb(40, 40, 40);"><hr tabindex="-1" style="display: inline-block; width: 705px;"><div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b><span class="Apple-converted-space"> </span>Alexander Afanasyev <<a href="mailto:cawka1@gmail.com">cawka1@gmail.com</a>> on behalf of Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>><br><b>Sent:</b><span class="Apple-converted-space"> </span>10 November 2013 20:54<br><b>To:</b><span class="Apple-converted-space"> </span>Liyanage IU Mr (PG/R - Electronic Eng)<br><b>Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [ndnSIM] custom-app</font><div> </div></div><div>Hi Isuru,<div><br></div><div>You can create your own environment without the need to compile ns-3 each time.  You can check <a href="https://github.com/cawka/ndnSIM-scenario-template">https://github.com/cawka/ndnSIM-scenario-template</a> repository that I created as an example of how to do it.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Nov 10, 2013, at 11:56 AM,<span class="Apple-converted-space"> </span><a href="mailto:i.liyanage@surrey.ac.uk">i.liyanage@surrey.ac.uk</a><span class="Apple-converted-space"> </span>wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr" tabindex="0" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;"><div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; margin: 0px;">Hi,<div><br></div><div>I'm new to ndnSIM.</div><div>If I want to create a new custom application do I have to compile ns-3 each time or,</div><div>is there a way to write it like writing a simulation scenario with the scenario-template.</div><div><br></div><div>Kind regards,</div><div>Isuru</div></div></div></blockquote></div></div></div></div></div></div></div></blockquote></div><br></body></html>