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 
<[email protected]> wrote:

> 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 you help me by 
> sending flow value to l2_learning Or if its not possible then how can I 
> create queues in flow_stats.py (link given above) so that I can pass traffic 
> through those queues. I tried a lot but was unable to do it.
> 
> 
> On Mon, Oct 21, 2013 at 11:30 PM, Murphy McCauley <[email protected]> 
> wrote:
> 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 is a decent if imperfect proxy for 
> counting users.  There has actually been work on truly tracking USERS, by 
> tracking e.g., social networking logins... I don't think the code for this 
> has been posted, though.
> 
> -- Murphy
> 
> On Oct 21, 2013, at 9:13 AM, Alison Chan <[email protected]> wrote:
> 
> > 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, Sayed Qaiser Ali Shah Shah
> > <[email protected]> wrote:
> >> 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 flows, how
> >> many ftp flows are there at that time. What functions can I use in pox to
> >> get number of users and number of different flows.
> >> Can anybody help me regarding this.
> >>
> >
> >
> >
> > --
> > Alison Chan
> > [email protected]
> > +1 909 278 7753
> >
> > Sedulously eschew obfuscatory hyperverbosity or prolixity.
> 
> 
> 
> 
> -- 
> Regards
> 
> Sayed Qaiser Ali Shah
> MSIT-12
> NUST (SEECS)

Reply via email to