I had the same exact issue back when I started to work on my thesis project, and for what I remember there isn't any developer documentation. The only way was to do a code walkthrough, starting from the utility tool of your interest (ovs-ofctl, ovs-dpctl, etc..). I wrote some documentation in my thesis, which you can find at https://github.com/pa5h1nh0/GTP-U_OvS-kernel-extension , an entire chapter is dedicated to OvS kernel module internals. Notice that you can extend the kernel module, the vswitchd daemon or both (better both if you have enough time, so the userspace and kernelspace are consistent).
Cheers Il 22 feb 2017 18:35, "Alessio Giorgetti" <[email protected]> ha scritto: > I'm trying to introduce some extended actions in the switch (I'm using > Ubuntu and ovs 2.4). My idea is to manipulate the mpls_header, so I need to > combine basic mpls actions togheter with some additional code. > > To do this I started to modify the file /datapath/actions.c > > I noticed this file is compiled only when the kernel module is built. > > Is it the right place where to write code... ? Is there a tutorial or some > documentation describing the ovs software architecture ? I'd simply need > some documentaiton to know where the various functions and structures are > defined, and which is the best place to write my code. > > Thanks, > alessio > > _______________________________________________ > discuss mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
