summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2015-04-07 15:44:32 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-08 15:46:17 +0900
commit87015d1a2d8ef182c1c384c11c81995d369c6e88 (patch)
treee0ba5ace4880d47d4beffe4c49e6fedafea1533c
parent172d9702ac9f28ecaadf338a12d8baeaf1590df1 (diff)
packet_data_generator2: README
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/packet_data_generator2/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/ryu/tests/packet_data_generator2/README b/ryu/tests/packet_data_generator2/README
new file mode 100644
index 00000000..3ad19301
--- /dev/null
+++ b/ryu/tests/packet_data_generator2/README
@@ -0,0 +1,15 @@
+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] ryu/tests/packet_data/of*/libofproto-*.packet
+[2] ryu.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.