The connection objects are stored in core.openflow.connections, so you can do len(core.openflow.connections) to obtain the number of switches connected.
Cheers, Alison 2014-04-08 6:13 GMT-04:00 farshad tajedin <farshad.taje...@gmail.com>: > hi all > i want to calculate the total number of switch connections in pox > controller. how i can do this? > > -- > Best Regards > > Farshad Tajedin -- Alison Chan chan7...@kettering.edu SMS: +1 909 278 7753 Fax: +1 206 203 2793