Hi Julius, We perform a similar task on RouteFlow. Here's the code: https://github.com/CPqD/RouteFlow/blob/master/pox/ext/rfproxy.py#L145
I guess you can also do it through a packet-in event by using the datapath id. Allan On Tue, Jan 8, 2013 at 9:17 AM, Julius Bachnick <[email protected]>wrote: > Hi all, > > I need to know the tital number of ports of a switch for different > reasons. I was hoping to retrieve that message via ofp_packet_in but it > does not seem to be the case. > > Whant I want to do is handling ConnectionUp Events with the additional > information of how many ports a switch has. > > Any suggestions or ideas are welcome! > > > Regards, > > Julius >
