Hey,

take a look at the API provided by pybindings_storage:

void get_names_by_mac(const ethernetaddr &mac, const Get_names_callback
&cb);
and then
void get_location_by_name(int64_t locationname, Name::Type name_type, const
Get_locations_callback &cb);

would something like this do it for you?  (Location holds dpid and port
info)

On Tue, Apr 5, 2011 at 1:25 PM, karim torkmen <[email protected]>wrote:

> Hi,
> I am trying to retrieve the topology of an openflow network through
> pybindings_storage.
> Untill now, I succeed to get the different connections between the switches
> i.e the tuple (src_dpid,src_port,dst_dpid,dst_port) through the method
> get_all_links() which seems to return just teh links between the switches.
> But, I still need to have a tuple of the type (host_mac_address,
> dst_dpid,dst_port).
> Any idea about how to get this information.
> Thanks a lot for your help.
> Regards,
> Karim
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to