of-wire json test: 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:
parent
60bae5eda5
commit
30d8d726c6
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPPacketOut" : {
|
||||
"buffer_id" : 4294967295,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 65532
|
||||
}
|
||||
}
|
||||
],
|
||||
"in_port" : 65533,
|
||||
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"nw_dst" : 0,
|
||||
"dl_vlan" : 0,
|
||||
"wildcards" : 4194295,
|
||||
"in_port" : 0,
|
||||
"dl_vlan_pcp" : 0,
|
||||
"dl_src" : "////////",
|
||||
"nw_proto" : 0,
|
||||
"dl_dst" : "8gukffjq",
|
||||
"tp_src" : 0,
|
||||
"nw_tos" : 0,
|
||||
"nw_src" : 0,
|
||||
"dl_type" : 0,
|
||||
"tp_dst" : 0
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"out_port" : 65532,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"OFPPacketIn" : {
|
||||
"buffer_id" : 2,
|
||||
"total_len" : 42,
|
||||
"reason" : 1,
|
||||
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD",
|
||||
"in_port" : 99
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPFeaturesRequest" : {}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"OFPSwitchFeatures" : {
|
||||
"ports" : {
|
||||
"6" : {
|
||||
"OFPPhyPort" : {
|
||||
"curr" : 648,
|
||||
"name" : "UG9ydAYAAAAAAAAAAAAAAA==",
|
||||
"supported" : 648,
|
||||
"state" : 2,
|
||||
"port_no" : 6,
|
||||
"advertised" : 640,
|
||||
"config" : 0,
|
||||
"peer" : 648,
|
||||
"hw_addr" : "8gukffjq"
|
||||
}
|
||||
},
|
||||
"7" : {
|
||||
"OFPPhyPort" : {
|
||||
"curr" : 648,
|
||||
"name" : "UG9ydAcAAAAAAAAAAAAAAA==",
|
||||
"supported" : 648,
|
||||
"state" : 16,
|
||||
"port_no" : 7,
|
||||
"advertised" : 640,
|
||||
"config" : 0,
|
||||
"peer" : 648,
|
||||
"hw_addr" : "8guk0D9w"
|
||||
}
|
||||
}
|
||||
},
|
||||
"actions" : 2115,
|
||||
"n_tables" : 255,
|
||||
"capabilities" : 169,
|
||||
"n_buffers" : 0,
|
||||
"datapath_id" : 1095522080376
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : {
|
||||
"OFPDescStats" : {
|
||||
"dp_desc" : "ZHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"mfr_desc" : "bWZyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"hw_desc" : "aHcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"serial_num" : "c2VyaWFsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"sw_desc" : "c3cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPPacketOut" : {
|
||||
"buffer_id" : 4294967295,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 4294967292
|
||||
}
|
||||
}
|
||||
],
|
||||
"in_port" : 4294967293,
|
||||
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPHello" : {}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPFlowStatsRequest" : {
|
||||
"table_id" : 0,
|
||||
"out_group" : 4294967295,
|
||||
"flags" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : []
|
||||
}
|
||||
},
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 65535,
|
||||
"hard_timeout" : 0,
|
||||
"instructions" : [],
|
||||
"duration_nsec" : 115277000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 0,
|
||||
"duration_sec" : 358,
|
||||
"packet_count" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 65534,
|
||||
"hard_timeout" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 0,
|
||||
"port" : 4294967290
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 115055000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthType" : {
|
||||
"value" : 2054
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 0,
|
||||
"duration_sec" : 358,
|
||||
"packet_count" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionGotoTable" : {
|
||||
"table_id" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 511582000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTInPort" : {
|
||||
"value" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"MTEthSrc" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 238,
|
||||
"duration_sec" : 316220,
|
||||
"packet_count" : 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 0,
|
||||
"hard_timeout" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 4294967293
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 980901000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 98,
|
||||
"duration_sec" : 313499,
|
||||
"packet_count" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPEchoRequest" : {
|
||||
"data" : "aG9nZQ=="
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPEchoReply" : {
|
||||
"data" : "aG9nZQ=="
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPErrorMsg" : {
|
||||
"data" : "ZnVnYWZ1Z2E=",
|
||||
"type" : 2,
|
||||
"code" : 11
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPExperimenter" : {
|
||||
"experimenter" : 98765432,
|
||||
"data" : "bmF6bw==",
|
||||
"exp_type" : 123456789
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPBarrierRequest" : {}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPBarrierReply" : {}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPRoleRequest" : {
|
||||
"generation_id" : 17294086455919964160,
|
||||
"role" : 2
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"table_id" : 1,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"out_group" : 4294967295,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthDst" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPRoleReply" : {
|
||||
"generation_id" : 17294086455919964160,
|
||||
"role" : 3
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
{
|
||||
"OFPGroupMod" : {
|
||||
"group_id" : 1,
|
||||
"buckets" : [
|
||||
{
|
||||
"OFPBucket" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"watch_port" : 1,
|
||||
"watch_group" : 1,
|
||||
"weight" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 0,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"OFPPortMod" : {
|
||||
"advertise" : 4096,
|
||||
"port_no" : 1,
|
||||
"config" : 0,
|
||||
"hw_addr" : "ABEAABER",
|
||||
"mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPTableMod" : {
|
||||
"table_id" : 255,
|
||||
"config" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPDescStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPAggregateStatsRequest" : {
|
||||
"table_id" : 255,
|
||||
"out_group" : 4294967295,
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : []
|
||||
}
|
||||
},
|
||||
"cookie" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"cookie_mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : {
|
||||
"OFPAggregateStatsReply" : {
|
||||
"flow_count" : 6,
|
||||
"byte_count" : 574,
|
||||
"packet_count" : 7
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPTableStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPPortStatsRequest" : {
|
||||
"port_no" : 4294967295,
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"out_group" : 4294967295,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionGotoTable" : {
|
||||
"table_id" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTInPort" : {
|
||||
"value" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"MTEthSrc" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPPortStats" : {
|
||||
"rx_frame_err" : 0,
|
||||
"rx_dropped" : 0,
|
||||
"rx_packets" : 0,
|
||||
"rx_over_err" : 0,
|
||||
"tx_packets" : 4,
|
||||
"rx_crc_err" : 0,
|
||||
"collisions" : 0,
|
||||
"port_no" : 7,
|
||||
"tx_dropped" : 0,
|
||||
"tx_bytes" : 336,
|
||||
"rx_errors" : 0,
|
||||
"rx_bytes" : 0,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortStats" : {
|
||||
"rx_frame_err" : 0,
|
||||
"rx_dropped" : 0,
|
||||
"rx_packets" : 4,
|
||||
"rx_over_err" : 0,
|
||||
"tx_packets" : 4,
|
||||
"rx_crc_err" : 0,
|
||||
"collisions" : 0,
|
||||
"port_no" : 6,
|
||||
"tx_dropped" : 0,
|
||||
"tx_bytes" : 336,
|
||||
"rx_errors" : 0,
|
||||
"rx_bytes" : 336,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPGroupFeaturesStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : {
|
||||
"OFPGroupFeaturesStats" : {
|
||||
"actions" : [
|
||||
67082241,
|
||||
67082241,
|
||||
67082241,
|
||||
67082241
|
||||
],
|
||||
"max_groups" : [
|
||||
16777216,
|
||||
16777216,
|
||||
16777216,
|
||||
16777216
|
||||
],
|
||||
"types" : 15,
|
||||
"capabilities" : 5
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPGroupDescStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPGroupDescStats" : {
|
||||
"group_id" : 1,
|
||||
"buckets" : [
|
||||
{
|
||||
"OFPBucket" : {
|
||||
"watch_port" : 1,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"watch_group" : 1,
|
||||
"weight" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPQueueGetConfigRequest" : {
|
||||
"port" : 4294967295
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
{
|
||||
"OFPQueueGetConfigReply" : {
|
||||
"port" : 4294967295,
|
||||
"queues" : [
|
||||
{
|
||||
"OFPPacketQueue" : {
|
||||
"queue_id" : 99,
|
||||
"port" : 77,
|
||||
"properties" : [
|
||||
{
|
||||
"OFPQueuePropMinRate" : {
|
||||
"rate" : 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueuePropMaxRate" : {
|
||||
"rate" : 900
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPacketQueue" : {
|
||||
"queue_id" : 88,
|
||||
"port" : 77,
|
||||
"properties" : [
|
||||
{
|
||||
"OFPQueuePropMinRate" : {
|
||||
"rate" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueuePropMaxRate" : {
|
||||
"rate" : 200
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPQueueStatsRequest" : {
|
||||
"port_no" : 4294967295,
|
||||
"flags" : 0,
|
||||
"queue_id" : 4294967295
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
{
|
||||
"OFPStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"port_no" : 7,
|
||||
"tx_packets" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"queue_id" : 1,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"port_no" : 6,
|
||||
"tx_packets" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"queue_id" : 1,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"port_no" : 7,
|
||||
"tx_packets" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"queue_id" : 2,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
{
|
||||
"OFPPortStatus" : {
|
||||
"desc" : {
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydAcAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"state" : 4,
|
||||
"supported" : 10248,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 7,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8guk0D9w"
|
||||
}
|
||||
},
|
||||
"reason" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
{
|
||||
"OFPPacketIn" : {
|
||||
"table_id" : 1,
|
||||
"buffer_id" : 2,
|
||||
"total_len" : 42,
|
||||
"reason" : 1,
|
||||
"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
|
||||
}
|
||||
},
|
||||
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD"
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
{
|
||||
"OFPFlowRemoved" : {
|
||||
"table_id" : 0,
|
||||
"hard_timeout" : 0,
|
||||
"priority" : 65535,
|
||||
"duration_nsec" : 48825000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthDst" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"reason" : 0,
|
||||
"cookie" : 0,
|
||||
"idle_timeout" : 3,
|
||||
"byte_count" : 86,
|
||||
"duration_sec" : 3,
|
||||
"packet_count" : 1
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPErrorExperimenterMsg" : {
|
||||
"experimenter" : 999999,
|
||||
"data" : "amlra2VuIGRhdGE=",
|
||||
"exp_type" : 60000
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPFeaturesRequest" : {}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"OFPSwitchFeatures" : {
|
||||
"ports" : {
|
||||
"6" : {
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydAYAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"supported" : 10248,
|
||||
"state" : 4,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 6,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8gukffjq"
|
||||
}
|
||||
},
|
||||
"7" : {
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydAcAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"supported" : 10248,
|
||||
"state" : 4,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 7,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8guk0D9w"
|
||||
}
|
||||
}
|
||||
},
|
||||
"n_tables" : 255,
|
||||
"capabilities" : 79,
|
||||
"n_buffers" : 0,
|
||||
"datapath_id" : 603603843768844288
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPSetConfig" : {
|
||||
"flags" : 0,
|
||||
"miss_send_len" : 128
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPGetConfigRequest" : {}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPGetConfigReply" : {
|
||||
"flags" : 0,
|
||||
"miss_send_len" : 128
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"OFPDescStatsReply" : {
|
||||
"body" : {
|
||||
"OFPDescStats" : {
|
||||
"dp_desc" : "ZHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"mfr_desc" : "bWZyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"hw_desc" : "aHcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||
"serial_num" : "c2VyaWFsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"sw_desc" : "c3cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPPacketOut" : {
|
||||
"buffer_id" : 4294967295,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 4294967292
|
||||
}
|
||||
}
|
||||
],
|
||||
"in_port" : 4294967293,
|
||||
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
|
||||
}
|
||||
}
|
18
ryu/tests/unit/ofproto/json/of13/4-10-ofp_hello.packet.json
Normal file
18
ryu/tests/unit/ofproto/json/of13/4-10-ofp_hello.packet.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"OFPHello" : {
|
||||
"elements" : [
|
||||
{
|
||||
"OFPHelloElemVersionBitmap" : {
|
||||
"versions" : [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
9,
|
||||
10,
|
||||
30
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPFlowStatsRequest" : {
|
||||
"table_id" : 0,
|
||||
"out_group" : 4294967295,
|
||||
"flags" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : []
|
||||
}
|
||||
},
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
{
|
||||
"OFPFlowStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 65535,
|
||||
"hard_timeout" : 0,
|
||||
"flags" : 0,
|
||||
"instructions" : [],
|
||||
"duration_nsec" : 115277000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 0,
|
||||
"duration_sec" : 358,
|
||||
"packet_count" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 65534,
|
||||
"hard_timeout" : 0,
|
||||
"flags" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 0,
|
||||
"port" : 4294967290
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 115055000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthType" : {
|
||||
"value" : 2054
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 0,
|
||||
"duration_sec" : 358,
|
||||
"packet_count" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"flags" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionGotoTable" : {
|
||||
"table_id" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 511582000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTInPort" : {
|
||||
"value" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"MTEthSrc" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 238,
|
||||
"duration_sec" : 316220,
|
||||
"packet_count" : 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPFlowStats" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 0,
|
||||
"hard_timeout" : 0,
|
||||
"flags" : 0,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 4294967293
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"duration_nsec" : 980901000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"byte_count" : 98,
|
||||
"duration_sec" : 313499,
|
||||
"packet_count" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPEchoRequest" : {
|
||||
"data" : "aG9nZQ=="
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPEchoReply" : {
|
||||
"data" : "aG9nZQ=="
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPErrorMsg" : {
|
||||
"data" : "ZnVnYWZ1Z2E=",
|
||||
"type" : 2,
|
||||
"code" : 11
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPExperimenter" : {
|
||||
"experimenter" : 98765432,
|
||||
"data" : "bmF6bw==",
|
||||
"exp_type" : 123456789
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPBarrierRequest" : {}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPBarrierReply" : {}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPRoleRequest" : {
|
||||
"generation_id" : 17294086455919964160,
|
||||
"role" : 2
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"table_id" : 1,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"out_group" : 4294967295,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthDst" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPRoleReply" : {
|
||||
"generation_id" : 17294086455919964160,
|
||||
"role" : 3
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
{
|
||||
"OFPGroupMod" : {
|
||||
"group_id" : 1,
|
||||
"buckets" : [
|
||||
{
|
||||
"OFPBucket" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"watch_port" : 1,
|
||||
"watch_group" : 1,
|
||||
"weight" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 0,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"OFPPortMod" : {
|
||||
"advertise" : 4096,
|
||||
"port_no" : 1,
|
||||
"config" : 0,
|
||||
"hw_addr" : "ABEAABER",
|
||||
"mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPTableMod" : {
|
||||
"table_id" : 255,
|
||||
"config" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPDescStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"OFPAggregateStatsRequest" : {
|
||||
"table_id" : 255,
|
||||
"out_group" : 4294967295,
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : []
|
||||
}
|
||||
},
|
||||
"cookie" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"cookie_mask" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"OFPAggregateStatsReply" : {
|
||||
"body" : {
|
||||
"OFPAggregateStats" : {
|
||||
"flow_count" : 6,
|
||||
"byte_count" : 574,
|
||||
"packet_count" : 7
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPTableStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"OFPTableStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPTableStats" : {
|
||||
"table_id" : 0,
|
||||
"matched_count" : 4,
|
||||
"lookup_count" : 4,
|
||||
"active_count" : 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableStats" : {
|
||||
"table_id" : 1,
|
||||
"matched_count" : 4,
|
||||
"lookup_count" : 4,
|
||||
"active_count" : 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPPortStatsRequest" : {
|
||||
"port_no" : 4294967295,
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"table_id" : 0,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"out_group" : 4294967295,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionGotoTable" : {
|
||||
"table_id" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTInPort" : {
|
||||
"value" : 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"MTEthSrc" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
{
|
||||
"OFPPortStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPPortStats" : {
|
||||
"rx_frame_err" : 0,
|
||||
"rx_dropped" : 0,
|
||||
"rx_over_err" : 0,
|
||||
"rx_packets" : 0,
|
||||
"duration_nsec" : 0,
|
||||
"rx_crc_err" : 0,
|
||||
"tx_packets" : 4,
|
||||
"collisions" : 0,
|
||||
"port_no" : 7,
|
||||
"duration_sec" : 0,
|
||||
"tx_dropped" : 0,
|
||||
"rx_errors" : 0,
|
||||
"rx_bytes" : 0,
|
||||
"tx_bytes" : 336,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortStats" : {
|
||||
"rx_frame_err" : 0,
|
||||
"rx_dropped" : 0,
|
||||
"rx_over_err" : 0,
|
||||
"rx_packets" : 4,
|
||||
"duration_nsec" : 0,
|
||||
"rx_crc_err" : 0,
|
||||
"tx_packets" : 4,
|
||||
"collisions" : 0,
|
||||
"port_no" : 6,
|
||||
"duration_sec" : 0,
|
||||
"tx_dropped" : 0,
|
||||
"rx_errors" : 0,
|
||||
"rx_bytes" : 336,
|
||||
"tx_bytes" : 336,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPGroupFeaturesStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"OFPGroupFeaturesStatsReply" : {
|
||||
"body" : {
|
||||
"OFPGroupFeaturesStats" : {
|
||||
"actions" : [
|
||||
67082241,
|
||||
67082241,
|
||||
67082241,
|
||||
67082241
|
||||
],
|
||||
"max_groups" : [
|
||||
16777216,
|
||||
16777216,
|
||||
16777216,
|
||||
16777216
|
||||
],
|
||||
"types" : 15,
|
||||
"capabilities" : 5
|
||||
}
|
||||
},
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPGroupDescStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
{
|
||||
"OFPGroupDescStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPGroupDescStats" : {
|
||||
"group_id" : 1,
|
||||
"buckets" : [
|
||||
{
|
||||
"OFPBucket" : {
|
||||
"watch_port" : 1,
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 2
|
||||
}
|
||||
}
|
||||
],
|
||||
"watch_group" : 1,
|
||||
"weight" : 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPQueueGetConfigRequest" : {
|
||||
"port" : 4294967295
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
{
|
||||
"OFPQueueGetConfigReply" : {
|
||||
"port" : 4294967295,
|
||||
"queues" : [
|
||||
{
|
||||
"OFPPacketQueue" : {
|
||||
"queue_id" : 99,
|
||||
"port" : 77,
|
||||
"properties" : [
|
||||
{
|
||||
"OFPQueuePropMinRate" : {
|
||||
"rate" : 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueuePropMaxRate" : {
|
||||
"rate" : 900
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPacketQueue" : {
|
||||
"queue_id" : 88,
|
||||
"port" : 77,
|
||||
"properties" : [
|
||||
{
|
||||
"OFPQueuePropMinRate" : {
|
||||
"rate" : 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueuePropMaxRate" : {
|
||||
"rate" : 200
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPQueueStatsRequest" : {
|
||||
"port_no" : 4294967295,
|
||||
"flags" : 0,
|
||||
"queue_id" : 4294967295
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"OFPQueueStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"duration_sec" : 0,
|
||||
"port_no" : 7,
|
||||
"duration_nsec" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"tx_packets" : 0,
|
||||
"queue_id" : 1,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"duration_sec" : 0,
|
||||
"port_no" : 6,
|
||||
"duration_nsec" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"tx_packets" : 0,
|
||||
"queue_id" : 1,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPQueueStats" : {
|
||||
"duration_sec" : 0,
|
||||
"port_no" : 7,
|
||||
"duration_nsec" : 0,
|
||||
"tx_bytes" : 0,
|
||||
"tx_packets" : 0,
|
||||
"queue_id" : 2,
|
||||
"tx_errors" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
{
|
||||
"OFPPortStatus" : {
|
||||
"desc" : {
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydAcAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"state" : 4,
|
||||
"supported" : 10248,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 7,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8guk0D9w"
|
||||
}
|
||||
},
|
||||
"reason" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
{
|
||||
"OFPPacketIn" : {
|
||||
"buffer_id" : 2,
|
||||
"table_id" : 1,
|
||||
"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
|
||||
}
|
||||
},
|
||||
"reason" : 1,
|
||||
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD"
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
{
|
||||
"OFPFlowRemoved" : {
|
||||
"table_id" : 0,
|
||||
"hard_timeout" : 0,
|
||||
"priority" : 65535,
|
||||
"duration_nsec" : 48825000,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthDst" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 1
|
||||
}
|
||||
},
|
||||
"reason" : 0,
|
||||
"cookie" : 0,
|
||||
"idle_timeout" : 3,
|
||||
"byte_count" : 86,
|
||||
"duration_sec" : 3,
|
||||
"packet_count" : 1
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPGetAsyncRequest" : {}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"OFPGetAsyncReply" : {
|
||||
"port_status_mask" : [
|
||||
7,
|
||||
3
|
||||
],
|
||||
"packet_in_mask" : [
|
||||
5,
|
||||
1
|
||||
],
|
||||
"flow_removed_mask" : [
|
||||
15,
|
||||
3
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"OFPSetAsync" : {
|
||||
"port_status_mask" : [
|
||||
7,
|
||||
3
|
||||
],
|
||||
"packet_in_mask" : [
|
||||
5,
|
||||
1
|
||||
],
|
||||
"flow_removed_mask" : [
|
||||
15,
|
||||
3
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
{
|
||||
"OFPFlowMod" : {
|
||||
"table_id" : 1,
|
||||
"priority" : 123,
|
||||
"hard_timeout" : 0,
|
||||
"buffer_id" : 65535,
|
||||
"out_group" : 4294967295,
|
||||
"instructions" : [
|
||||
{
|
||||
"OFPInstructionMeter" : {
|
||||
"meter_id" : 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPInstructionActions" : {
|
||||
"actions" : [
|
||||
{
|
||||
"OFPActionOutput" : {
|
||||
"max_len" : 65535,
|
||||
"port" : 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"type" : 3
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0,
|
||||
"match" : {
|
||||
"OFPMatch" : {
|
||||
"fields" : [
|
||||
{
|
||||
"MTEthDst" : {
|
||||
"value" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"idle_timeout" : 0,
|
||||
"cookie" : 0,
|
||||
"cookie_mask" : 0,
|
||||
"out_port" : 4294967295,
|
||||
"command" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPMeterConfigStatsRequest" : {
|
||||
"meter_id" : 4294967295,
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"OFPMeterConfigStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPMeterConfigStats" : {
|
||||
"meter_id" : 100,
|
||||
"flags" : 14,
|
||||
"bands" : [
|
||||
{
|
||||
"OFPMeterBandDrop" : {
|
||||
"rate" : 1000,
|
||||
"burst_size" : 10
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPMeterStatsRequest" : {
|
||||
"meter_id" : 4294967295,
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPFeaturesRequest" : {}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
"OFPMeterStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPMeterStats" : {
|
||||
"flow_count" : 0,
|
||||
"duration_sec" : 0,
|
||||
"meter_id" : 100,
|
||||
"byte_in_count" : 0,
|
||||
"duration_nsec" : 480000,
|
||||
"packet_in_count" : 0,
|
||||
"band_stats" : [
|
||||
{
|
||||
"OFPMeterBandStats" : {
|
||||
"packet_band_count" : 0,
|
||||
"byte_band_count" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPMeterFeaturesStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"OFPMeterFeaturesStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPMeterFeaturesStats" : {
|
||||
"band_types" : 2147483654,
|
||||
"max_meter" : 16777216,
|
||||
"capabilities" : 15,
|
||||
"max_color" : 0,
|
||||
"max_band" : 255
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPPortDescStatsRequest" : {
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"OFPPortDescStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydDcAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"state" : 4,
|
||||
"supported" : 10248,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 7,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8guk0D9w"
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPort" : {
|
||||
"curr" : 10248,
|
||||
"name" : "UG9ydDYAAAAAAAAAAAAAAA==",
|
||||
"max_speed" : 5000,
|
||||
"state" : 4,
|
||||
"supported" : 10248,
|
||||
"curr_speed" : 5000,
|
||||
"port_no" : 6,
|
||||
"advertised" : 10240,
|
||||
"config" : 0,
|
||||
"peer" : 10248,
|
||||
"hw_addr" : "8gukffjq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
{
|
||||
"OFPTableFeaturesStatsReply" : {
|
||||
"body" : [
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 0,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDAwAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 1,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDAxAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 2,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDAyAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 3,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDAzAAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 4,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA0AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 5,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA1AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 6,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA2AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 7,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA3AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 8,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA4AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPTableFeaturesStats" : {
|
||||
"table_id" : 9,
|
||||
"max_entries" : 16777216,
|
||||
"metadata_match" : 18446744073709551615,
|
||||
"metadata_write" : 18446744073709551615,
|
||||
"name" : "RmxvdyBUYWJsZSAweDA5AAAAAAAAAAAAAAAAAAAAAAA=",
|
||||
"config" : 0,
|
||||
"properties" : []
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags" : 2
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"OFPSwitchFeatures" : {
|
||||
"capabilities" : 79,
|
||||
"n_tables" : 255,
|
||||
"auxiliary_id" : 99,
|
||||
"datapath_id" : 603603843768844288,
|
||||
"n_buffers" : 0
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPSetConfig" : {
|
||||
"flags" : 0,
|
||||
"miss_send_len" : 128
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"OFPGetConfigRequest" : {}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user