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 received them

You can use tcpdump or wireshark to confirm the above.
If 1. is NG, there might be problem in simple_monitor_13, but if 1. is OK
and 2. is NG, it might be problem of Ns3-ofsoftswtich13 side.

Thanks,
Iwase


On 2017年03月03日 12:38, Alan Wang wrote:
> 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 flow stats when  
> Ns3-ofsoftswtich13  doesn't  receive the flow_request and sent to reply . 
> 
> Thanks
> 
> Alan
> 
> 
> 
> 
> 2017年3月3日 09:59,"Iwase Yusuke" <[email protected] 
> <mailto:[email protected]>>寫道:
> 
>     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 
> <https://github.com/osrg/ryu/blob/master/ryu/app/simple_monitor_13.py#L25simple_monitor_13.py>
>  should do L2 switching like simple_switch_13.py.
> 
>     Why you need to combine them?
> 
>     Thanks,
>     Iwase
> 
>     >
>     > 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 receive 
> the flow_reply.
>     >
>     > Why?
>     >
>     > Can anyone help me how to solve it?
>     >
>     > Thanks,
>     >
>     > Alan
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     > Check out the vibrant tech community on one of the world's most
>     > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>     >
>     >
>     >
>     > _______________________________________________
>     > Ryu-devel mailing list
>     > [email protected] <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/ryu-devel 
> <https://lists.sourceforge.net/lists/listinfo/ryu-devel>
>     >
> 
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to