deb-ryu/ryu
FUJITA Tomonori 475ca44ef4 test: add integrated OVS test suite
This patch adds a test framework with OVS to test various matches and
actions; adding various matches and actions and check `ovs-ofctl
dump-flows' output.

First, create 'br-tester' bridge:

fujita@rose:~$ sudo ovs-vsctl add-br br-tester

Secondly, configure the bridge to use the local controller:

fujita@rose:~$ sudo ovs-vsctl set-controller br-tester tcp:127.0.0.1

Thirdly, run what you want to test. If you want to try adding flows on
OF1.0:

fujita@rose:~$ ryu-manager --verbose --run_test_mod ryu.tests.integrated.test_add_flow_v10 ryu.tests.integrated.tester

This patch adds three test sets:

ryu.tests.integrated.test_add_flow_v10
ryu.tests.integrated.test_add_flow_v12_actions
ryu.tests.integrated.test_add_flow_v12_matches

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-20 06:27:16 +09:00
..
app simple_switch: remove outside module dependence 2012-07-19 14:59:58 +09:00
base enable applications to specify OF versions 2012-07-16 14:39:39 +09:00
controller stop import ofproto_v1_0 as ofproto 2012-07-17 19:32:13 +09:00
lib ofproto/nx_match: simplify set_dl_{src, dst}_mask() 2012-06-16 09:02:43 +09:00
ofproto of1.2: fix OFPPortStatsRequest typo 2012-07-19 21:07:54 +09:00
tests test: add integrated OVS test suite 2012-07-20 06:27:16 +09:00
__init__.py Ryu 1.0 2012-06-30 14:27:57 +09:00
exception.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
flags.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
log.py Switch to Apache 2.0 license 2012-04-06 08:38:45 +09:00
utils.py add round_up utility function 2012-06-25 14:43:24 +09:00