os-ken/os_ken/tests/packet_data_generator2
Hongbin Lu eb94ee01bc Rename "ryu" to "os_ken" everywhere
Change-Id: Id227a6672fb89cd512b17cddfb1fce7bb22fb0c8
2018-11-27 20:48:02 +00:00
..
gen.c Move files from ryu/* to os_ken/* 2018-09-25 20:55:24 +00:00
Makefile.BSD Move files from ryu/* to os_ken/* 2018-09-25 20:55:24 +00:00
Makefile.GNU Move files from ryu/* to os_ken/* 2018-09-25 20:55:24 +00:00
README Rename "ryu" to "os_ken" everywhere 2018-11-27 20:48:02 +00:00

This directory contains a small C program to generate
OpenFlow packet binary files [1].  They are used by some of
unit tests [2].  As we have the generated files in the repository,
you don't need to build this program unless you want to (re-)generate
the files for some reasons, typically adding new test cases.

[1] os_ken/tests/packet_data/of*/libofproto-*.packet
[2] os_ken.tests.unit.ofproto.test_parser

The program requires libofproto library provided by Open vSwitch.
It's a little tricky to build because Open vSwitch distribution
normally does not install the corresponding C header files.  You need
both of the source distribution of Open vSwitch and matching installed
libraries, and override OVS_SRC and SRC make variables to point those
directries respectively.