<div dir="ltr">Hi,<div><br></div><div>I'm trying to fetch some statistics such as bytes_count of a certain switch.</div><div><br></div><div>I useĀ <i>ofp_flow_stats_request()</i> to send the request and handle it this way:</div><div>for f in event.stats : bytes += f.byte_count<br></div><div><br></div><div>In order to get the byte_count of a certain interval, I send it periodically and use <i>current_byte_count - former_byte_count </i>to get the byte_count of the last interval.</div><div><br></div><div>However, sometimes I got some negative values.</div><div><br></div><div>I want to know what's the meaning of the byte_count in <i>ofp_flow_stats.</i></div><div>Or do I need to use other request bodies such as <i>ofp_aggregate_stats_request </i>to fetch the byte_count of a certain period of a certain switch?</div><div><br></div><div>Thank you.</div><div>Bowei</div></div>