summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMinoru TAKAHASHI <takahashi.minoru7@gmail.com>2014-08-05 13:37:13 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-08-20 04:46:32 -0700
commit06a38cf2a899cc9e026744fd597e8da284f34ae0 (patch)
tree28760c2887f01f491f48a54bc7e751c5127d2607
parent950785ee8d9c7c1dfe2fde9c64181df634b83bd7 (diff)
sw test tool: add a "note" for help to understand
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/switch/of13/action/25_SET_FIELD/06_VLAN_VID.json2
-rw-r--r--ryu/tests/switch/of13/match/06_VLAN_VID.json1
-rw-r--r--ryu/tests/switch/of14/action/25_SET_FIELD/06_VLAN_VID.json2
-rw-r--r--ryu/tests/switch/of14/match/06_VLAN_VID.json1
4 files changed, 6 insertions, 0 deletions
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":{