summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKawai, Hiroaki <kawai@iij.ad.jp>2016-07-06 20:01:57 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-11 16:44:22 +0900
commit04b4bbbe01a6149354c178f7db427736e50f8717 (patch)
tree4bcd5ec3e61c66ec7ab6b3601fb1ae2e9d169aa7
parent400a98d4a7e2172ef67cdab78e2fc7639796f84b (diff)
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 <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/switch/of13/match/07_VLAN_PCP.json12
1 files 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
}
},
{