Hi, I'm triying to get the a flow stat, and i wanna use get_flow_stats(dp,
waiters) from ryu//lib/ofctl_v1_0.py and I use this function for that:
def statusReq(self, datapath):
stats =[]
waiters = {}
stats= ofctl.get_flow_stats(dp=datapath,waiters=waiters)
print "Stats of a flow"
print stats
return
Im not sure if the code is right, but I get this result when I run the app:
Stats of a flow
{'14118357615532992': []}
Can you help me to understad how to use this function correctly please?
Also im not sure about the parameter "waiters" in the definition of the
function, what's the meaning of it?
Regards.
Marlon Olaya
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel