You could just write a quick component with a ConnectionUp handler that prints the DPID and port number...
-- Murphy On Nov 13, 2014, at 2:11 PM, Caarveth <caarv...@gmail.com> wrote: > Thank you very much for your reply! > > I am using Ripl-POX controller and unfourtenly it doesn't print out the > switch IP/port numbers. I can find port numbers of switch by analyzing > Feature Request message but maybe you know some easiest way? > > Marc > > 2014-11-13 22:04 GMT+01:00 Rod N. Melton <r...@pobox.com>: > i assume you're using some SDN controller running in the same VM as mininet. > you can track which switch by TCP dest port number port number (as seen in > wireshark). > > or if you're tracking messages from the switches to the controller, just look > at the TCP src port number. > > each switch will be given a different port number in incrementing order as > they connect with the controller. some controllers print out the switch > IP/port numbers (on debug console) when the switch connects to the > controller. it's pretty easy to figure out the mapping between port numbers > and switches in mininet. > > Rod > > > > On 2014-11-13 14:39, Caarveth wrote: > >> Hello everyone, >> >> Could you help me with my problem: I have Flow Mod messages captured in >> Wireshark but I don't know how to check to which switch a sepecific message >> was sent from controller, do you know how can I do this? >> >> Best regads, >> Marc >> >> _______________________________________________ >> openflow-discuss mailing list >> openflow-discuss@lists.stanford.edu >> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss