test_parser: update of13 expected results

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2013-07-23 16:03:37 +09:00 committed by FUJITA Tomonori
parent 0e4c83d4e4
commit 7b499a0478
8 changed files with 47 additions and 143 deletions

View File

@ -4,12 +4,10 @@
"out_group" : 4294967295,
"flags" : 0,
"out_port" : 4294967295,
"match" : {
"OFPMatch" : {
"fields" : []
}
},
"cookie" : 0,
"match" : {
"OFPMatch" : {}
},
"cookie_mask" : 0
}
}

View File

@ -4,19 +4,16 @@
{
"OFPFlowStats" : {
"table_id" : 0,
"priority" : 65535,
"hard_timeout" : 0,
"flags" : 0,
"priority" : 65535,
"instructions" : [],
"flags" : 0,
"duration_nsec" : 115277000,
"match" : {
"OFPMatch" : {
"fields" : [],
"type" : 1
}
"OFPMatch" : {}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
@ -25,9 +22,8 @@
{
"OFPFlowStats" : {
"table_id" : 0,
"priority" : 65534,
"hard_timeout" : 0,
"flags" : 0,
"priority" : 65534,
"instructions" : [
{
"OFPInstructionActions" : {
@ -43,21 +39,15 @@
}
}
],
"flags" : 0,
"duration_nsec" : 115055000,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTEthType" : {
"value" : 2054
}
}
],
"type" : 1
"eth_type" : 2054
}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
@ -66,9 +56,8 @@
{
"OFPFlowStats" : {
"table_id" : 0,
"priority" : 123,
"hard_timeout" : 0,
"flags" : 0,
"priority" : 123,
"instructions" : [
{
"OFPInstructionGotoTable" : {
@ -76,26 +65,16 @@
}
}
],
"flags" : 0,
"duration_nsec" : 511582000,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTInPort" : {
"value" : 6
}
},
{
"MTEthSrc" : {
"value" : "8gukffjq"
}
}
],
"type" : 1
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 238,
"duration_sec" : 316220,
"packet_count" : 3
@ -104,9 +83,8 @@
{
"OFPFlowStats" : {
"table_id" : 0,
"priority" : 0,
"hard_timeout" : 0,
"flags" : 0,
"priority" : 0,
"instructions" : [
{
"OFPInstructionActions" : {
@ -122,15 +100,13 @@
}
}
],
"flags" : 0,
"duration_nsec" : 980901000,
"match" : {
"OFPMatch" : {
"fields" : [],
"type" : 1
}
"OFPMatch" : {}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 98,
"duration_sec" : 313499,
"packet_count" : 1

View File

@ -2,9 +2,8 @@
"OFPFlowMod" : {
"table_id" : 1,
"priority" : 123,
"hard_timeout" : 0,
"buffer_id" : 65535,
"out_group" : 4294967295,
"hard_timeout" : 0,
"instructions" : [
{
"OFPInstructionActions" : {
@ -20,20 +19,15 @@
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTEthDst" : {
"value" : "8gukffjq"
}
}
]
"eth_dst" : "f2:0b:a4:7d:f8:ea"
}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0

View File

@ -1,12 +1,10 @@
{
"OFPAggregateStatsRequest" : {
"table_id" : 255,
"out_group" : 4294967295,
"flags" : 0,
"out_group" : 4294967295,
"match" : {
"OFPMatch" : {
"fields" : []
}
"OFPMatch" : {}
},
"cookie" : 0,
"out_port" : 4294967295,

View File

@ -2,9 +2,8 @@
"OFPFlowMod" : {
"table_id" : 0,
"priority" : 123,
"hard_timeout" : 0,
"buffer_id" : 65535,
"out_group" : 4294967295,
"hard_timeout" : 0,
"instructions" : [
{
"OFPInstructionGotoTable" : {
@ -12,25 +11,16 @@
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTInPort" : {
"value" : 6
}
},
{
"MTEthSrc" : {
"value" : "8gukffjq"
}
}
]
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0

View File

@ -1,61 +1,22 @@
{
"OFPPacketIn" : {
"buffer_id" : 2,
"table_id" : 1,
"buffer_id" : 2,
"total_len" : 42,
"cookie" : 283686884868096,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTInPort" : {
"value" : 6
}
},
{
"MTEthType" : {
"value" : 2054
}
},
{
"MTEthDst" : {
"value" : "////////"
}
},
{
"MTEthSrc" : {
"value" : "8gukffjq"
}
},
{
"MTArpOp" : {
"value" : 1
}
},
{
"MTArpSpa" : {
"value" : 167772161
}
},
{
"MTArpTpa" : {
"value" : 167772163
}
},
{
"MTArpSha" : {
"value" : "8gukffjq"
}
},
{
"MTArpTha" : {
"value" : "AAAAAAAA"
}
}
],
"type" : 1
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6,
"eth_dst" : "ff:ff:ff:ff:ff:ff",
"arp_tha" : "00:00:00:00:00:00",
"arp_spa" : "10.0.0.1",
"eth_type" : 2054,
"arp_sha" : "f2:0b:a4:7d:f8:ea",
"arp_op" : 1,
"arp_tpa" : "10.0.0.3"
}
},
"cookie" : 283686884868096,
"reason" : 1,
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD"
}

View File

@ -6,14 +6,7 @@
"duration_nsec" : 48825000,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTEthDst" : {
"value" : "8gukffjq"
}
}
],
"type" : 1
"eth_dst" : "f2:0b:a4:7d:f8:ea"
}
},
"reason" : 0,

View File

@ -2,9 +2,8 @@
"OFPFlowMod" : {
"table_id" : 1,
"priority" : 123,
"hard_timeout" : 0,
"buffer_id" : 65535,
"out_group" : 4294967295,
"hard_timeout" : 0,
"instructions" : [
{
"OFPInstructionMeter" : {
@ -25,20 +24,15 @@
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"fields" : [
{
"MTEthDst" : {
"value" : "8gukffjq"
}
}
]
"eth_dst" : "f2:0b:a4:7d:f8:ea"
}
},
"idle_timeout" : 0,
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0