Hi Ricardo 

I've used the nox flow fetcher component and it worked fine for me. 
One thing to look at is how you're specifying the ofp_match object while 
requesting for flows. 
The ofp_flow_stats_request will return counters for flow table entries that 
match the specified ofp_match object ? 


If there no matching entries in the forwarding table <Flow_stats>flows vector 
will be empty. 


Hope this helped 


Best! 
Malveeka 






----- Original Message ----- 
From: "Ricardo Bennesby" <[email protected]> 
To: [email protected] 
Sent: Tuesday, March 8, 2011 1:01:44 PM GMT -08:00 US/Canada Pacific 
Subject: [nox-dev] Problem in getting flows statistics 

Hi, 
I am trying to get flows statistics in my C++ component using flow fetcher, but 
all fields of flows seems not instanciated. For example, I need to know flow 
size, number of packets, number of bytes and other information. 
I created a ofp_flow_stats_request request in my component, set it as: 
request.table_id = 0xff; 
request.out_port = OFPP_NONE; , in datapath_join_event and passed it to 
flow_fetcher as a parameter of start_fetch. 
But when the handler of Flow_stats_in_event is called, the size of the 
vector<Flow_stats> flows still zero as all of it other fields. 
Is the error in my request? 
Am I missing something? 
Sorry if I didn't made myself clear. 
Thank you for help. 
Regards. 

-- 
Happy Women's Day 
Ricardo Bennesby da Silva 
Ciência da Computação - UFAM 
LabCIA - Laboratório de Computação Inteligente e Autonômica 


_______________________________________________ nox-dev mailing list 
[email protected] http://noxrepo.org/mailman/listinfo/nox-dev
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to