Re: [pox-dev] Identifying number of users and number of flows

2013-10-24 Thread Sayed Qaiser Ali Shah Shah
Thanks a lot Murphy I did it. I was trying to find number of flows. I declared flow as variable and number of flows is flow value in that variable. I was trying to pass value from one file to another. I came up with an idea and did it accordingly. I declared global variable in separate file and the

Re: [pox-dev] Identifying number of users and number of flows

2013-10-24 Thread Murphy McCauley
Can you fill us in more on what you're trying to accomplish? It's not clear to me what your end-goal is (or what you mean by "flow value"). -- Murphy On Oct 24, 2013, at 1:39 PM, Sayed Qaiser Ali Shah Shah <11msitqs...@seecs.edu.pk> wrote: > Thanks Alison Chan and Murphy McCauley for your hel

Re: [pox-dev] Identifying number of users and number of flows

2013-10-24 Thread Sayed Qaiser Ali Shah Shah
Thanks Alison Chan and Murphy McCauley for your help. I found number of flows by using https://github.com/alis0nc/poxstuff/blob/master/flow_stats.py script modified by Alison Chan. Now I am facing problem in passing the flow value which I found, to l2_learning.py in which I have defined queues. Can

Re: [pox-dev] Identifying number of users and number of flows

2013-10-21 Thread Murphy McCauley
You could also count flows as you install them. Of course, whether this is useful depends on what flows you install. If you install very broad flows, you lose a lot of information. You might also look at the host_tracker component which comes with POX, which attempts to track the hosts, which

Re: [pox-dev] Identifying number of users and number of flows

2013-10-21 Thread Alison Chan
William Yu wrote this flow_stats module for pox: https://github.com/hip2b2/poxstuff/blob/master/flow_stats.py And I modified it so flow_stats can be called from the pox command line: https://github.com/alis0nc/poxstuff/blob/master/flow_stats.py Cheers, Alison On Mon, Oct 21, 2013 at 4:14 AM, Saye

[pox-dev] Identifying number of users and number of flows

2013-10-21 Thread Sayed Qaiser Ali Shah Shah
Hello everybody, I am working with POX and mininet. What I want to do is to find number of active users i.e. how many users are sending and how many users are receiving data. Another thing I want to find is number of flows i.e. how many flows of different type are in progress, like how many http f