mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
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:
parent
9664f3b9e3
commit
4a38237357
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user