From 04b4bbbe01a6149354c178f7db427736e50f8717 Mon Sep 17 00:00:00 2001 From: "Kawai, Hiroaki" Date: Wed, 6 Jul 2016 20:01:57 -0700 Subject: [PATCH] fix of13 VLAN_PCP test case To test VLAN_PCP, VLAN_VID must match. Table miss test was testing VLAN_VID instead of VLAN_PCP, because the packet had mismatching VLAN_VID. Fixes to set only OFPVID_PRESENT bit in the match field. Reviewed-by: Iwase Yusuke Signed-off-by: FUJITA Tomonori --- ryu/tests/switch/of13/match/07_VLAN_PCP.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ryu/tests/switch/of13/match/07_VLAN_PCP.json b/ryu/tests/switch/of13/match/07_VLAN_PCP.json index 208b8a53..132fe762 100644 --- a/ryu/tests/switch/of13/match/07_VLAN_PCP.json +++ b/ryu/tests/switch/of13/match/07_VLAN_PCP.json @@ -135,8 +135,8 @@ { "OXMTlv":{ "field":"vlan_vid", - "mask":null, - "value":4196 + "mask":4096, + "value":4096 } }, { @@ -315,8 +315,8 @@ { "OXMTlv":{ "field":"vlan_vid", - "mask":null, - "value":4196 + "mask":4096, + "value":4096 } }, { @@ -491,8 +491,8 @@ { "OXMTlv":{ "field":"vlan_vid", - "mask":null, - "value":4196 + "mask":4096, + "value":4096 } }, {