Hi, simple_switch or (simple_switch_13) does not depend on stplib. https://github.com/osrg/ryu/blob/master/ryu/app/simple_switch_13.py Please investigate why "your" simple_switch requires stplib, first.
simple_switch_stp or (simple_switch_stp_13 on Ryu-Book) depends on stplib, do you mean this? http://osrg.github.io/ryu-book/en/html/spanning_tree.html#executing-the-ryu-application Thanks, Iwase On 2016年08月21日 00:56, Francesco Murador wrote: > Hey another question in my application i want an istance of simple_switch but > when i try to instantiate a simple_switch i can't because it gives me > keyerror stplib so how can instantiate a simple_switch object? > > Inviato da iPhone > >> Il giorno 17/ago/2016, alle ore 03:02, Iwase Yusuke >> <iwase.yusu...@gmail.com> ha scritto: >> >> Hi, >> >> Sorry for the delay. >> >>> On 2016年08月10日 17:59, Francesco Murador wrote: >>> So i don't need to do anything in mininet just add that in ryu? Because the >>> switch had to send to the controller without any request(i think that this >>> want my professor because it's for my thesis) the message >>> Thank you for the answer >> >> Does your switch already have implementation for sending that message? >> If so, you don't need to modify the source of Mininet. >> >> Thanks, >> Iwase >> >>> >>> Inviato da iPhone >>> >>>> Il giorno 10/ago/2016, alle ore 07:32, Iwase Yusuke >>>> <iwase.yusu...@gmail.com> ha scritto: >>>> >>>> Hi, >>>> >>>> To implement a custom OpenFlow message in Ryu, >>>> please add the definitions for your own messages into >>>> ryu.ofproto.ofproto_v1_*_parser. >>>> >>>> If you need to receive and parse messages, parser() method is required >>>> and if you need to send messages, _serialize_body() method is required. >>>> 'OFPFlowMod' message has the both implementation and it might be helpful >>>> for you. >>>> https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3_parser.py#L2548-L2684 >>>> >>>> Thanks, >>>> Iwase >>>> >>>> >>>>> On 2016年08月09日 04:09, Francesco Murador wrote: >>>>> Hi i need some help with ryu, i need to realize a ryu application that >>>>> raise a message from openflow switches on mininet, but i need to do a >>>>> custom openflow message, because all i have to do, it is to check the >>>>> traffic of my network and than if in an openflow switch there’s a lot of >>>>> traffic it had to send a message to the controller and than the >>>>> controller says to the other to use another path, obviously i yet checked >>>>> how to do the second part, i mean the part to ignore a determinate >>>>> switch, so my question is…how can i create a custom openflow message in >>>>> mininet(or ryu i don’t know where to start in this part) to send to >>>>> controller(where i’ll raise as an event)? >>>>> I think i need to do this in mininet, but i need some help to understand >>>>> I talk even with openvswitch dev and they said that it's more easy to do >>>>> a poll request periodically..so what's right way the first i said or >>>>> this? And can you help in the both way? >>>>> Thank you for your help and i hope for a reply. >>>>> If you don’t understand something of what i wrote say it to me >>>>> >>>>> >>>>> Inviato da iPhone >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>>>> traffic >>>>> patterns at an interface-level. Reveals which users, apps, and protocols >>>>> are >>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>>>> planning reports. http://sdm.link/zohodev2dev >>>>> _______________________________________________ >>>>> Ryu-devel mailing list >>>>> Ryu-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning reports. http://sdm.link/zohodev2dev >>> _______________________________________________ >>> Ryu-devel mailing list >>> Ryu-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/ryu-devel >>> > > ------------------------------------------------------------------------------ > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel