[Ryu-devel] Can't see FlowstatsReply every second

2017-02-25 Thread Alan Wang
HI All, I tried to combined the simple_switch_13 and simple_monitor. However,when i run my codes, I found a problem. I send OFPFlowStatsRequest to swtich every second, but i can't receive OFPFlowStatsReply every second, especially After packet_in_handler.I can't get the flow stats when i can't

Re: [Ryu-devel] Can't see FlowstatsReply every second

2017-03-02 Thread Iwase Yusuke
Hi, On 2017年02月25日 21:06, Alan Wang wrote: > HI All, > > I tried to combined the simple_switch_13 and simple_monitor. "ryu/app/simple_monitor_13.py" inherits ryu/app/simple_switch_13.py: https://github.com/osrg/ryu/blob/master/ryu/app/simple_monitor_13.py#L25 simple_monitor_13.py should do L2

Re: [Ryu-devel] Can't see FlowstatsReply every second

2017-03-02 Thread Alan Wang
Hi , Thanks for your reply. I am wrong. I want to use simple_monitor13 and Ns3 to simulate. However I send OFPFlowStatsRequest to Ns3-ofsoftswtich13 every second, but Ns3-ofsoftswtich13 can't receive OFPFlowStatsReply every second, especially After packet_in_handler. Controller can't get the

Re: [Ryu-devel] Can't see FlowstatsReply every second

2017-03-02 Thread Iwase Yusuke
Hi Alan, Sorry, I don't have NS3 simulator environment though. First, please confirm: 1. if simple_monitor_13 sent OFPFlowStatsRequest after packet_in_handler, and Ns3-ofsoftswtich13 received them 2. if Ns3-ofsoftswtich13 sent OFPFlowStatsReply every second, and simple_monitor_13 receiv