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

Reply via email to