Re: [Ryu-devel] Would you please answer these questions?

2015-05-08 Thread mehran shetabi
Hi, I mean that how can i measure the instant traffic load of any host that connected to OVS? I know that there is ofp_event.EventOFPPortStatsReply in Ryu documentation, but it measures the cumulative load of a port (rx_packets, rx_bytes, tx_packets, tx_bytes, …) in a switch that connected to

Re: [Ryu-devel] How to start the ofagent

2015-05-08 Thread fumihiko kakuma
Hi Oguchi, On Sat, 2 May 2015 07:29:33 +0900 Masato Oguchi wrote: > Hi kakuma, > > Thank you for various information. > I only refer the following page for OFAgent, which seems > to include many old information... > > Configuration OpenStack OFAgent agent > https://github.com/osrg/ryu/wiki/Con

Re: [Ryu-devel] Would you please answer these questions?

2015-05-08 Thread Yi Tseng
Hi 1. If "load" you mentioned is "traffic load", you can send ofp_port_stats_request (openflow 1.3.4 spec, page 94) and calculate port loading by port stats information. 2. If you mean "controller loading", just use other library like psutil https://github.com/giampaolo/psutil 3. You need to imp