[pox-dev] total number of switch connections

Alison Chan chan7781 at kettering.edu
Tue Apr 8 08:58:57 PDT 2014


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.tajedin at 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
chan7781 at kettering.edu
SMS: +1 909 278 7753
Fax: +1 206 203 2793



More information about the pox-dev mailing list