Hi,

Mininet uses Open vSwitch(OVS) as the default software switch to emulate
the OpenFlow network.
So OVS (NOT Mininet) generates the messages to send the controller.
If your OVS already has the implementation for sending your own messages,
you need to implement parser class in Ryu.
If not yet, you also need to implement your own message into OVS, I think.

Thanks,
Iwase

On 2016年08月19日 22:48, Francesco Murador wrote:
> Do You mean the implementation in ryu? Because i don't have a real phisic 
> switch but i use mininet as simulation tool..so i have to implement the 
> message in ryu and than i had to modify mininet? 
> Sorry for the delay 
> 
> 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

Reply via email to