Hello Iwase, Please ignore my last mail I figured out the problem. Thanks for your help.
Mit freundlichen Grüßen / Best regards Harsha Vardhan Communication Technology (CR/AEH4) [email protected] -----Original Message----- From: FIXED-TERM Vardhan Harsha (CR/AEH4) Sent: Montag, 31. August 2015 15:32 To: 'Ryu-devel' <[email protected]> Subject: RE: [Ryu-devel] link discovery in multipath topology Hello Iwase, I'm not using simple_switch_13.py app . I'm using another app called getswitches.py which I'll be attaching with the mail. The thing is the topology module works well when I need to discover links on my virtual network containing loops in mininet, but when I work with openVswitches running on 3 three different PCs it doesn’t discover all the links.right now link discovery is more important for me. I'm also attaching the ryu traces in both the cases I just described.Also with this mail ill be attaching the mininet topology. I would like some guidance regarding this issue. As far as I know I can also add a flow to drop the lldp packets after a certain time period, during which all the links can be discovered . Thanks for your help. Mit freundlichen Grüßen / Best regards Harsha Vardhan Communication Technology (CR/AEH4) [email protected] -----Original Message----- From: Yusuke Iwase [mailto:[email protected]] Sent: Freitag, 28. August 2015 10:03 To: FIXED-TERM Vardhan Harsha (CR/AEH4) <[email protected]> Cc: [email protected] Subject: Re: [Ryu-devel] link discovery in multipath topology Hi, On 2015年08月27日 18:02, FIXED-TERM Vardhan Harsha (CR/AEH4) wrote: > Hello all, > > > > I’m trying to perform link discovery in my multipath topology using the ryu > built-in topology module. > > But when I use this there is lldp multicast storm and also not all the links > are discovered . > > Can you please guide me how to go about changing the code so as to discover > all the links as well as to stop lldp multicast storm. > > My topology is as following : > > > > > --------------OVS1------------ > > | > | > > | > | > > OVS2-----------------------OVS3 > > > > > Thanks for the help. Did you get the following ryu-manager log? ... packet in 2 4a:92:a6:d1:d2:3d 33:33:00:00:00:16 3 packet in 2 16:d3:fb:a7:82:03 33:33:00:00:00:16 3 EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn packet in 3 4a:92:a6:d1:d2:3d 33:33:00:00:00:16 2 packet in 3 4a:92:a6:d1:d2:3d 33:33:00:00:00:02 2 packet in 3 16:d3:fb:a7:82:03 33:33:00:00:00:02 2 packet in 3 4a:92:a6:d1:d2:3d 33:33:00:00:00:16 2 ... On my environment, IPv6 multicast packets seem to be a cause of the multicast storm. How about installing the following flow entry into each switch at switch features event? priority=65535,dl_dst=33:33:00:00:00:00/ff:ff:00:00:00:00 actions=drop e.g.) $ git diff diff --git a/ryu/app/simple_switch_13.py b/ryu/app/simple_switch_13.py index 3e7c598..c0e4f02 100644 --- a/ryu/app/simple_switch_13.py +++ b/ryu/app/simple_switch_13.py @@ -21,6 +21,7 @@ from ryu.ofproto import ofproto_v1_3 from ryu.lib.packet import packet from ryu.lib.packet import ethernet from ryu.lib.packet import ether_types +from ryu.topology import api class SimpleSwitch13(app_manager.RyuApp): @@ -48,6 +49,11 @@ class SimpleSwitch13(app_manager.RyuApp): ofproto.OFPCML_NO_BUFFER)] self.add_flow(datapath, 0, match, actions) + match = parser.OFPMatch(eth_dst=('33:33:00:00:00:00', + 'ff:ff:00:00:00:00')) + actions = [] + self.add_flow(datapath, 65535, match, actions) + def add_flow(self, datapath, priority, match, actions, buffer_id=None): ofproto = datapath.ofproto parser = datapath.ofproto_parser Then, run ryu-manager with this command. $ ryu-manager --observe-links --verbose ryu.app.simple_switch_13 Thanks, Iwase > > > > Mit freundlichen Grüßen / Best regards > > *Harsha Vardhan > *Communication Technology (CR/AEH4) > > [email protected] > <mailto:[email protected]> > > > > ---------------------------------------------------------------------- > -------- > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
