diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-31 06:40:16 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-07-31 13:25:40 +0900 |
commit | a41029a2b98de63142c803c6d53e8e29e9c9b36f (patch) | |
tree | 3e6bde8a7b92263f33f3fabf530cb2aebd6ba472 | |
parent | dbade0ca57ae6154ad0ebea519b7a7e850e249dc (diff) |
test: specify OF version in integrated test suite
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/integrated/test_add_flow_v10.py | 2 | ||||
-rw-r--r-- | ryu/tests/integrated/test_add_flow_v12_actions.py | 2 | ||||
-rw-r--r-- | ryu/tests/integrated/test_add_flow_v12_matches.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/ryu/tests/integrated/test_add_flow_v10.py b/ryu/tests/integrated/test_add_flow_v10.py index ed6c7b73..1014596c 100644 --- a/ryu/tests/integrated/test_add_flow_v10.py +++ b/ryu/tests/integrated/test_add_flow_v10.py @@ -18,6 +18,7 @@ import logging from ryu.tests.integrated import tester +from ryu.ofproto import ofproto_v1_0 from ryu.ofproto import nx_match LOG = logging.getLogger(__name__) @@ -26,6 +27,7 @@ LOG = logging.getLogger(__name__) class RunTest(tester.TestFlowBase): """ Test case for add flows of1.0 """ + OFP_VERSIONS = [ofproto_v1_0.OFP_VERSION] def __init__(self, *args, **kwargs): super(RunTest, self).__init__(*args, **kwargs) diff --git a/ryu/tests/integrated/test_add_flow_v12_actions.py b/ryu/tests/integrated/test_add_flow_v12_actions.py index 9e93bffa..a508fd80 100644 --- a/ryu/tests/integrated/test_add_flow_v12_actions.py +++ b/ryu/tests/integrated/test_add_flow_v12_actions.py @@ -17,6 +17,7 @@ import logging +from ryu.ofproto import ofproto_v1_2 from ryu.ofproto import nx_match from ryu.tests.integrated import tester @@ -39,6 +40,7 @@ ETH_TYPE_MPLS = 0x8847 class RunTest(tester.TestFlowBase): """ Test case for add flows of Actions """ + OFP_VERSIONS = [ofproto_v1_2.OFP_VERSION] def __init__(self, *args, **kwargs): super(RunTest, self).__init__(*args, **kwargs) diff --git a/ryu/tests/integrated/test_add_flow_v12_matches.py b/ryu/tests/integrated/test_add_flow_v12_matches.py index cb26330f..227dd8dd 100644 --- a/ryu/tests/integrated/test_add_flow_v12_matches.py +++ b/ryu/tests/integrated/test_add_flow_v12_matches.py @@ -18,6 +18,7 @@ import logging import itertools +from ryu.ofproto import ofproto_v1_2 from ryu.ofproto import nx_match from ryu.tests.integrated import tester @@ -38,6 +39,7 @@ IPPROTO_SCTP = 132 class RunTest(tester.TestFlowBase): """ Test case for add flows of Matches """ + OFP_VERSIONS = [ofproto_v1_2.OFP_VERSION] def __init__(self, *args, **kwargs): super(RunTest, self).__init__(*args, **kwargs) |