tests/integrated: Use table_id greater than the current table for goto-table instruction

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 <horms@verge.net.au>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Simon Horman 2014-04-24 09:39:33 +09:00 committed by FUJITA Tomonori
parent 9664f3b9e3
commit 4a38237357

View File

@ -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)