diff options
-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) |