diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-28 10:24:46 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-28 10:24:46 +0900 |
commit | 8c1978942daaa96a5336aab3def2f94e37cccc5c (patch) | |
tree | 738b478a7abbe86f963b57eafac6c1c0505e593f /bin/ryu-manager | |
parent | dfa4ab185a45cd647da16ee8a4c50eeb90615d2b (diff) |
test: simplify integrated OVS test suite
This patch simplifies integrated OVS test suite. Currently, we wait
for a barrier response before moving to the next test. However, we
don't need. The logic works like the following:
sending a flow mod (deleting all the flows)
sending a barrier
sending a flow mod (set up a flow to test)
sending a barrier
sending a flow stats
Then the reply handler for flow stats verifies the result and move to
the next.
You can run a test suite like:
$ ryu-manager ~/git/ryu/ryu/tests/integrated/test_add_flow_v12_actions.py
We can try two more suites:
ryu/tests/integrated/test_add_flow_v10.py
ryu/tests/integrated/test_add_flow_v12_matches.py
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, 0 insertions, 1 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager index cee0b416..cfa56a0a 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -32,7 +32,6 @@ 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 |