<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hello,</div><div><br></div><div>Thank you</div><div>I want to get the network path between two hosts. Is this possible in l2_multi.</div><div>For switches what I should use, their names or what?</div><div><br></div><div>Regards,<br></div><div><br>On ١٣‏/١١‏/٢٠١٣, at ١٠:٥٦ م, Murphy McCauley <<a href="mailto:murphy.mccauley@gmail.com">murphy.mccauley@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=windows-1256">IP addresses don't mean anything to l2_multi.  If they did, it'd be l3_multi. :)  l2_multi works on L2 (Ethernet) addresses.<div><br></div><div>Even so, the path finding functions find paths between *switches*, not addresses.  Specifically, they find paths between l2_multi's Switch objects (I think if you'd printed the contents of path_map, this would have become apparent).  A separate dictionary object (mac_map) keeps a mapping between an Ethernet address and which Switch it thinks is associated.<div><br></div><div>-- Murphy</div><div> <br><div><div>On Nov 13, 2013, at 11:07 AM, AMER <<a href="mailto:amer7777@hotmail.com">amer7777@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; 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 dir="ltr">Hello,<br> <br>Pox.py<span class="Apple-converted-space"> </span><em>forwarding.l2_multi openflow.discovery</em><br><em>tree topology with no loops</em><br><em></em> <br>I want to get the path from source to destination using l2_multi, I tried with:<br>src = "10.1.1.1"<br>dst ="10.2.2.2"<br>path_info = _get_raw_path(src, dst)<br>print path_info<br>but I have got None, while i can ping these two hosts. Also, I have tried with get_path and same results None<br> <br>Best regards,<br><br><font color="#800000" face="Lucida Handwriting, Cursive"><strong>Eng Amer Alghadhban</strong></font><br><font color="#800000" face="Lucida Handwriting"><strong>COE</strong></font><br><font color="#800000" face="Lucida Handwriting"><strong>SANS-GCFW</strong></font><br><strong><font color="#800000"><font face="Lucida Handwriting">CEH,<span class="Apple-converted-space"> </span></font><font face="Lucida Handwriting">SCNP,<span class="Apple-converted-space"> </span></font><font face="Lucida Handwriting">CCNA</font></font></strong></div></div></blockquote></div><br></div></div></div></blockquote></body></html>