[ovs-discuss] about how to read and figure out the source code of openvswitch

Justin Pettit jpettit at nicira.com
Sun Dec 30 17:20:16 UTC 2012


On Dec 30, 2012, at 1:20 AM, Cong Wang <xiyou.wangcong at gmail.com> wrote:

> On Sun, Dec 30, 2012 at 1:45 PM, 地方读 <shaoguolin at 163.com> wrote:
>> Hello,
>> Everybody,  i am a freshman in openvswitch, i am focus on the openflow
>> protocal recently, but i can't fetch lots of details from the OpenFlow
>> Switch Specification(Version 1.3.1), so i have to read the source code of
>> openvswitch(openvswitch-1.7.0.tar.gz). but there are lots of directories and
>> files that make me confused, can someone give me some tips about how to
>> figure out the struct and architecture of the source code.
>> There are lots of directories in the source code, e.g. Datapath, m4, Lib,
>> Include, etc. so which aspect are  these directories mainly about ?
> 
> The following is probably useful for you:
> http://openvswitch.org/pipermail/dev/2012-December/023721.html

These slides also contain a high-level overview of the code layout, which may be useful:

    http://openvswitch.org/slides/OVS-Development.pdf

--Justin





More information about the discuss mailing list