Maybe the FAQ can help you a little with this:

Q: How do I implement a new OpenFlow message?

A: Add your new message to "enum ofpraw" and "enum ofptype" in
lib/ofp-msgs.h, following the existing pattern. Then recompile and fix all
of the new warnings, implementing new functionality for the new message as
needed. (If you configure with --enable-Werror, as described in
INSTALL.md, then it is impossible to miss any warnings.)

If you need to add an OpenFlow vendor extension message for a vendor that
doesn't yet have any extension messages, then you will also need to edit
build-aux/extract-ofp-msgs.

cheers,

David

> Hi,
>
> On my locally deployed OVS-ODL setup, I would like to make a change so
> that OVS is able to understand and respond to a new type of OF message
> sent from the controller. Can someone provide guidance on how I should
> proceed with that?
>
> Let's say using this OF message I would like to add/modify a match or
> action type for an IP packet.
>
> Do I just add the message type case to rconn.c, vconn.c and ofproto.c  and
> call a function that performs the functionality ? Or do I have to do
> something more for both OVS and ODL to recognize the message ?
>
> Thanks,
> Monica
>
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to