<p dir="ltr">Hi Anil</p>
<p dir="ltr">It's NLSR's choice to always canonize a FaceUri. It doesn't have to. ndn-cxx provides FaceUri::isCanonical() method to determine whether a FaceUri is already canonical.</p>
<p dir="ltr">udp://<a href="http://192.0.2.1">192.0.2.1</a> is not a canonical FaceUri. See <a href="http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt">http://redmine.named-data.net/projects/nfd/wiki/FaceMgmt</a> "FaceUri UDP" section.</p>
<p dir="ltr">FaceManager reports 501 "unsupported protocol" for udp4 FaceUri because ndnSIM does not yet support UDP faces. Watch <a href="http://redmine.named-data.net/issues/2371">http://redmine.named-data.net/issues/2371</a> for progress.</p>
<p dir="ltr">Yours, Junxiao</p>
<p dir="ltr">On Jan 2, 2016 03:09, "Anil Jangam" <<a href="mailto:anilj.mailing@gmail.com">anilj.mailing@gmail.com</a>> wrote:<br>
><br>
> I also did not understand why it is still trying to convert into a canonical format when a valid IP address provided. If you see the log on line #494, you will realize. <br>
><br>
> I also observed that it always expected the IP address:port combination with "udp4" as scheme. It did not work with "udp". I am referring to this - udp://<a href="http://192.0.2.1">192.0.2.1</a> (remote-port defaults to 6363). It did not take the default port 6363 by default. All my neighbouring nodes are remote node in NLSR test set up. <br>
><br>
> 494 191s FaceController:onCanonizeSuccess(): Converted udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a> to canonical form: udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a><br>
> 495 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a><br>
> 496 191s Fib:registerPrefix(): Registering prefix: /ndn/edu/umbc/%C1.Router/cs/mctr Face Uri: udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a><br>
> 497 191s FaceController:createFace(): Converting udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a> to canonical form<br>
> 498 191s FaceController:onCanonizeSuccess(): Converted udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a> to canonical form: udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a><br>
> 499 191s FaceController:createFaceInNfd(): Creating Face in NFD with face-uri: udp4://<a href="http://10.0.0.3:6363">10.0.0.3:6363</a><br>
> 500 191s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 60 seconds<br>
> 501 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501)<br>
> 502 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501)<br>
> 503 191s HelloProtocol:onRegistrationFailure(): Unsupported protocol (code: 501)</p>