From 06a38cf2a899cc9e026744fd597e8da284f34ae0 Mon Sep 17 00:00:00 2001 From: Minoru TAKAHASHI Date: Tue, 5 Aug 2014 13:37:13 +0900 Subject: [PATCH] sw test tool: add a "note" for help to understand Signed-off-by: Minoru TAKAHASHI Signed-off-by: FUJITA Tomonori --- ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json | 2 ++ ryu/tests/switch/of13/match/06_VLAN_VID.json | 1 + ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json | 2 ++ ryu/tests/switch/of14/match/06_VLAN_VID.json | 1 + 4 files changed, 6 insertions(+) diff --git a/ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json b/ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json index 092003c3..d20d486b 100644 --- a/ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json +++ b/ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json @@ -2,6 +2,8 @@ "action: set_field: 06_VLAN_VID", { "description": "ethernet/vlan(vid=100)/ipv4/tcp-->'vlan_vid=100,actions=set_field:203->vlan_vid,output:2'", + "notes":"A value of VLAN_VID (4196) means '100 | OFPVID_PRESENT(0x1000)'.", + "notes":"A value of VLAN_VID (4299) means '203 | OFPVID_PRESENT(0x1000)'.", "prerequisite":[ { "OFPFlowMod":{ diff --git a/ryu/tests/switch/of13/match/06_VLAN_VID.json b/ryu/tests/switch/of13/match/06_VLAN_VID.json index 150e1d70..699fc027 100644 --- a/ryu/tests/switch/of13/match/06_VLAN_VID.json +++ b/ryu/tests/switch/of13/match/06_VLAN_VID.json @@ -2,6 +2,7 @@ "match: 06_VLAN_VID", { "description":"ethernet/vlan(vid=100)/ipv4/tcp-->'vlan_vid=100,actions=output:2'", + "notes":"A value of VLAN_VID (4196) means '100 | OFPVID_PRESENT(0x1000)'.", "prerequisite":[ { "OFPFlowMod":{ diff --git a/ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json b/ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json index 092003c3..d20d486b 100644 --- a/ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json +++ b/ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json @@ -2,6 +2,8 @@ "action: set_field: 06_VLAN_VID", { "description": "ethernet/vlan(vid=100)/ipv4/tcp-->'vlan_vid=100,actions=set_field:203->vlan_vid,output:2'", + "notes":"A value of VLAN_VID (4196) means '100 | OFPVID_PRESENT(0x1000)'.", + "notes":"A value of VLAN_VID (4299) means '203 | OFPVID_PRESENT(0x1000)'.", "prerequisite":[ { "OFPFlowMod":{ diff --git a/ryu/tests/switch/of14/match/06_VLAN_VID.json b/ryu/tests/switch/of14/match/06_VLAN_VID.json index 150e1d70..699fc027 100644 --- a/ryu/tests/switch/of14/match/06_VLAN_VID.json +++ b/ryu/tests/switch/of14/match/06_VLAN_VID.json @@ -2,6 +2,7 @@ "match: 06_VLAN_VID", { "description":"ethernet/vlan(vid=100)/ipv4/tcp-->'vlan_vid=100,actions=output:2'", + "notes":"A value of VLAN_VID (4196) means '100 | OFPVID_PRESENT(0x1000)'.", "prerequisite":[ { "OFPFlowMod":{