diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-19 17:35:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-20 06:27:16 +0900 |
commit | 475ca44ef4f87b00945ccd5be8ee4ab196c4e86f (patch) | |
tree | 8957d8de56de8578ed101c67dbc1cb2f01e11956 /bin/ryu-manager | |
parent | bdaafadc3f8e5e1a7e61fa0af6960c584115b94c (diff) |
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>
Diffstat (limited to 'bin/ryu-manager')
-rwxr-xr-x | bin/ryu-manager | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager index cfa56a0a..cee0b416 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -32,6 +32,7 @@ from ryu import utils from ryu.app import wsgi from ryu.base.app_manager import AppManager from ryu.controller import controller +from ryu.tests.integrated import tester FLAGS = gflags.FLAGS |