For a goto-table instruction use a table_id greater than the table in which a flow will be inserted. OpenFlow 1.2 section 5.6 stipulates that this is required.
I noticed this when using Open vSwitch's "make ryu-check" as Open vSwitch enforces the above stipulation. Signed-off-by: Simon Horman <[email protected]> --- ryu/tests/integrated/test_request_reply_v12.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/integrated/test_request_reply_v12.py b/ryu/tests/integrated/test_request_reply_v12.py index 125cc9f..b60a2ba 100644 --- a/ryu/tests/integrated/test_request_reply_v12.py +++ b/ryu/tests/integrated/test_request_reply_v12.py @@ -434,7 +434,7 @@ class RunTest(tester.TestFlowBase): def test_flow_add_goto_table(self, dp): self._verify = dp.ofproto.OFPIT_GOTO_TABLE - inst = [dp.ofproto_parser.OFPInstructionGotoTable(0), ] + inst = [dp.ofproto_parser.OFPInstructionGotoTable(1), ] self.mod_flow(dp, inst=inst) self.send_flow_stats(dp) -- 1.8.5.2 ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
