second try
[vsorcdistro/.git] / ryu / ryu / tests / packet_data_generator2 / README
1 This directory contains a small C program to generate
2 OpenFlow packet binary files [1].  They are used by some of
3 unit tests [2].  As we have the generated files in the repository,
4 you don't need to build this program unless you want to (re-)generate
5 the files for some reasons, typically adding new test cases.
6
7 [1] ryu/tests/packet_data/of*/libofproto-*.packet
8 [2] ryu.tests.unit.ofproto.test_parser
9
10 The program requires libofproto library provided by Open vSwitch.
11 It's a little tricky to build because Open vSwitch distribution
12 normally does not install the corresponding C header files.  You need
13 both of the source distribution of Open vSwitch and matching installed
14 libraries, and override OVS_SRC and SRC make variables to point those
15 directries respectively.