Hello, Thank you I want to get the network path between two hosts. Is this possible in l2_multi. For switches what I should use, their names or what?
Regards, On ١٣/١١/٢٠١٣, at ١٠:٥٦ م, Murphy McCauley <murphy.mccau...@gmail.com> wrote: > IP addresses don't mean anything to l2_multi. If they did, it'd be l3_multi. > :) l2_multi works on L2 (Ethernet) addresses. > > 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. > > -- Murphy > > On Nov 13, 2013, at 11:07 AM, AMER <amer7...@hotmail.com> wrote: > >> Hello, >> >> Pox.py forwarding.l2_multi openflow.discovery >> tree topology with no loops >> >> I want to get the path from source to destination using l2_multi, I tried >> with: >> src = "10.1.1.1" >> dst ="10.2.2.2" >> path_info = _get_raw_path(src, dst) >> print path_info >> but I have got None, while i can ping these two hosts. Also, I have tried >> with get_path and same results None >> >> Best regards, >> >> Eng Amer Alghadhban >> COE >> SANS-GCFW >> CEH, SCNP, CCNA >