Hi Amjad,

Thank you for providing information.
Unfortunately, I could not reproduce the problem.
Looking at the log file you attached, I think the program worked good.


>     >> [snoop][DEBUG] 
> igmp(address='225.0.1.37',csum=2010,maxresp=0,msgtype=22)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [REPORT]
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Member Changed: [225.0.1.37] querier:[1] hosts:[1, 2]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=0000b25eadcac643 PORT=1 IGMP received. [QUERY]
>     >> packet in 196119712417347 02:53:3a:5a:65:fa 33:33:00:00:00:01 1
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [QUERY]
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:53:3a:5a:65:fa 33:33:00:00:00:01 1
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 28695830094665 02:53:3a:5a:65:fa 33:33:00:00:00:01 4
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Removed: [225.0.1.37] querier:[1] hosts:[]

It seems that host 1 and 2 did not reply IGMP REPORT messages.
This is not under control of Ryu IGMP.
Could you try on smaller topology for locating a problem?



On Tue, 3 Jun 2014 14:56:24 -0400
Md. Amjad Hossain wrote:

> hello Yuichi,
> 
> I was doing that experiment on GENI Testbed. I have tried same experiment 
> using mininet. Previously on mininet  I got same problem as I was getting 
> using GENI. But today I see that mininet always flood messages when I run 
> using ryu  Igmp.
> 
> Please find the attachments:
> 1. Command outputs
> 2. Mininet topology I am using, ( running controller as remotely with 
> loopback IP)/ so, consider the topology without VM in the previous topology 
> in PNG file.
> 3. Output log file : igmp.log
> 4. The multicast sender & Listner I am using for test
> 
> Please let me know if you need anything else.
> 
> Best regards
> Amjad
> 
> 
> 
> 
> On Tue, Jun 3, 2014 at 3:08 AM, Yuichi Ito <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Hi,
> 
>     I will construct the same environment you use using mininet.
>     Could you tell me the following informations?
> 
>     - result of 'sudo ovs-vsctl list Bridge'
>     - result of 'sudo ovs-vsctl list Port'
>     - results of 'sudo ovs-ofctl dump-ports-desc (each switches)'
>     - results of 'ifconfig' of each hosts
>     - network topology (same as former topology.png?)
> 
>     And could you give me a whole log file?
>     To output a log file, please append options as follows:
> 
>     # ryu-manager ryu.app.simple_switch_igmp --verbose --log-file=igmp.log
> 
>     On Tue, 03 Jun 2014 15:15:51 +0900
>     Yuichi Ito <[email protected] <mailto:[email protected]>> wrote:
> 
>     > Hmm, I can't reproduce this situation yet.
>     > Please give me a little time.
>     >
>     > On Tue, 3 Jun 2014 00:56:36 -0400
>     > Md. Amjad Hossain wrote:
>     >
>     >> Hi Yuichi,
>     >>
>     >> Thanks I found dpid and port and updated as you told me in 
> .....igmp.py file. But still getting same problem. Initially everyone was 
> getting multicast message but after few seconds some of them stopped 
> receiving. I can't make everyone to receive message at the same time. Could 
> you please help me with this problem?
>     >>
>     >> Do I have to change anything else? This is the part of console output 
> in ryu controller I am getting:
>     >>
>     >> packet in 28695830094665 02:8a:bb:7f:54:5c 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:8a:bb:7f:54:5c 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 196119712417347 02:8a:bb:7f:54:5c 33:33:00:00:00:01 2
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Removed: [225.0.1.37] querier:[2] hosts:[]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='225.0.1.37',csum=2010,maxresp=0,msgtype=22)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=2 IGMP received. [REPORT]
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Added: [225.0.1.37] querier:[2] hosts:[]
>     >> Multicast Group Member Changed: [225.0.1.37] querier:[2] hosts:[2]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 28695830094665 02:8f:24:90:61:96 33:33:00:00:00:01 2
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:8f:24:90:61:96 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 196119712417347 02:8f:24:90:61:96 33:33:00:00:00:01 2
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=0000b25eadcac643 PORT=3 IGMP received. [QUERY]
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 196119712417347 02:e6:66:06:56:88 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [QUERY]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:e6:66:06:56:88 33:33:00:00:00:01 1
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 28695830094665 02:e6:66:06:56:88 33:33:00:00:00:01 4
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='225.0.1.37',csum=2010,maxresp=0,msgtype=22)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [REPORT]
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Member Changed: [225.0.1.37] querier:[1] hosts:[1, 2]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=0000b25eadcac643 PORT=1 IGMP received. [QUERY]
>     >> packet in 196119712417347 02:53:3a:5a:65:fa 33:33:00:00:00:01 1
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [QUERY]
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:53:3a:5a:65:fa 33:33:00:00:00:01 1
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 28695830094665 02:53:3a:5a:65:fa 33:33:00:00:00:01 4
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Removed: [225.0.1.37] querier:[1] hosts:[]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='225.0.1.37',csum=2010,maxresp=0,msgtype=22)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=1 IGMP received. [REPORT]
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Added: [225.0.1.37] querier:[1] hosts:[]
>     >> Multicast Group Member Changed: [225.0.1.37] querier:[1] hosts:[1]
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=2 IGMP received. [QUERY]
>     >> packet in 138641775921991 02:21:ab:1b:7e:b2 33:33:00:00:00:01 2
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='0.0.0.0',csum=61083,maxresp=100,msgtype=17)
>     >> [snoop][INFO] SW=0000b25eadcac643 PORT=2 IGMP received. [QUERY]
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 196119712417347 02:21:ab:1b:7e:b2 33:33:00:00:00:01 2
>     >> packet in 28695830094665 02:21:ab:1b:7e:b2 33:33:00:00:00:01 4
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 28695830094665 02:8a:bb:7f:54:5c 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 138641775921991 02:8a:bb:7f:54:5c 33:33:00:00:00:01 3
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> EVENT igmplib->SimpleSwitchIgmp EventPacketIn
>     >> packet in 196119712417347 02:8a:bb:7f:54:5c 33:33:00:00:00:01 2
>     >> EVENT ofp_event->igmplib EventOFPPacketIn
>     >> [snoop][DEBUG] 
> igmp(address='225.0.1.37',csum=2010,maxresp=0,msgtype=22)
>     >> [snoop][INFO] SW=00007e180dce0b47 PORT=2 IGMP received. [REPORT]
>     >> EVENT igmplib->SimpleSwitchIgmp EventMulticastGroupStateChanged
>     >> Multicast Group Member Changed: [225.0.1.37] querier:[2] hosts:[1, 2]
>     >>
>     >>
>     >> Best Regards
>     >> Amjad
>     >>
>     >>
>     >>
>     >>
>     >> On Tue, Jun 3, 2014 at 12:35 AM, Yuichi Ito <[email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>> wrote:
>     >>
>     >>     Hi, I'm glad you got well again.
>     >>
>     >>     ovs-vsctl helps you to know datapath id, name, ports, and so on:
>     >>
>     >>     # sudo ovs-vsctl list Bridge
>     >>
>     >>     To know port numbers, please use ovs-ofctl:
>     >>
>     >>     # sudo ovs-ofctl dump-ports-desc (datapath name)
>     >>
>     >>     For more information, please refer to manpages of these commands.
>     >>
>     >>
>     >>     On Mon, 2 Jun 2014 23:40:12 -0400
>     >>     Md. Amjad Hossain wrote:
>     >>
>     >>     > Hello Yuichi Ito,
>     >>     >
>     >>     > Sorry for replying after long time. Actually I had to stop 
> working for my physical condition and other reasons.
>     >>     >
>     >>     > Thank you for your suggestions. I want to start my work again. 
> Could you please tell me How can I know the datapath ID of a OVS ? Manually I 
> can find the port number of the VM-2 where VM-7 is connected, Do you know any 
> easy way to find that port?
>     >>     >
>     >>     > Best Regards
>     >>     > Amjad
>     >>     >
>     >>     >
>     >>     > On Thu, Mar 6, 2014 at 8:50 PM, Yuichi Ito 
> <[email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>> 
> <mailto:[email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>>>> wrote:
>     >>     >
>     >>     >     hi.
>     >>     >
>     >>     >     simple_switch_igmp.py requires rewriting according to 
> environments when a querier does not exist.
>     >>     >
>     >>     >     please set the followings:
>     >>     >      - the datapath id of VM-2 switch
>     >>     >      - the port number of VM-2 switch that is linked to VM-7
>     >>     >
>     >>     >     
> https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_igmp.py#L38
>     >>     >
>     >>     >
>     >>     >     On Thu, 6 Mar 2014 00:06:04 -0500
>     >>     >     Md. Amjad Hossain <[email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>> <mailto:[email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>>> wrote:
>     >>     >
>     >>     >     > Hi,
>     >>     >     >
>     >>     >     > I am trying to do video streaming using ryu controller's 
> multicast module " simpe_switch_igmp.py". My topology is attached. when video 
> streamer start streaming , video should be received by everyone listening in 
> the multicasting group. But most of the cases its not happening. Seems like 
> when H4 is receiving video, no other hosts getting it; when H4 is not 
> listening other host can receive video but sometimes need to flush switch 
> forwarding table manually.
>     >>     >     >
>     >>     >     >
>     >>     >     > My question is, can anyone please let me know whether the 
> implementation of the IGMP module perfect. I mean, is there anyone who has 
> been successful doing multicasting with this existing IGMP module?
>     >>     >     >
>     >>     >     > Any suggestion for doing video streaming by multicasting 
> would be greatly appreciated.
>     >>     >     >
>     >>     >     >
>     >>     >     > Thanks
>     >>     >     > Amjad
>     >>     >     >
>     >>     >     >
>     >>     >     > 
> ------------------------------------------------------------------------------
>     >>     >     > Subversion Kills Productivity. Get off Subversion & Make 
> the Move to Perforce.
>     >>     >     > With Perforce, you get hassle-free workflows. Merge that 
> actually works.
>     >>     >     > Faster operations. Version large binaries.  Built-in WAN 
> optimization and the
>     >>     >     > freedom to use Git, Perforce or both. Make the move to 
> Perforce.
>     >>     >     > 
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>     >>     >     >
>     >>     >     >
>     >>     >     >
>     >>     >     > _______________________________________________
>     >>     >     > Ryu-devel mailing list
>     >>     >     > [email protected] 
> <mailto:[email protected]> 
> <mailto:[email protected] 
> <mailto:[email protected]>> 
> <mailto:[email protected] 
> <mailto:[email protected]> 
> <mailto:[email protected] 
> <mailto:[email protected]>>>
>     >>     >     > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>     >>     >     >
>     >>     >
>     >>     >
>     >>
>     >>
> 
> 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to