[pox-dev] get_path info for two hosts
Murphy McCauley
murphy.mccauley at gmail.com
Wed Nov 13 11:56:44 PST 2013
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 <amer7777 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20131113/60cbb65a/attachment-0002.htm>
More information about the pox-dev
mailing list