normalize json files using tools/normalize_json.py

i used to use json_pp for this purpose but different versions of perl
seem to format differently.
use python "json.dumps(d, ensure_ascii=True, indent=3, sort_keys=True)"
instead this time.

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-08-12 16:46:09 +09:00 committed by FUJITA Tomonori
parent fef6f622bf
commit 9220abd06f
102 changed files with 6323 additions and 6323 deletions

View File

@ -1,15 +1,15 @@
{
"OFPPacketOut" : {
"buffer_id" : 4294967295,
"actions" : [
"OFPPacketOut": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 65532
"OFPActionOutput": {
"max_len": 65535,
"port": 65532
}
}
],
"in_port" : 65533,
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
],
"buffer_id": 4294967295,
"data": "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA=",
"in_port": 65533
}
}

View File

@ -1,37 +1,37 @@
{
"OFPFlowMod" : {
"priority" : 123,
"hard_timeout" : 0,
"buffer_id" : 65535,
"actions" : [
"OFPFlowMod": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 6
"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
],
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"match": {
"OFPMatch": {
"dl_dst": "8gukffjq",
"dl_src": "////////",
"dl_type": 0,
"dl_vlan": 0,
"dl_vlan_pcp": 0,
"in_port": 0,
"nw_dst": 0,
"nw_proto": 0,
"nw_src": 0,
"nw_tos": 0,
"tp_dst": 0,
"tp_src": 0,
"wildcards": 4194295
}
},
"idle_timeout" : 0,
"cookie" : 0,
"out_port" : 65532,
"command" : 0
},
"out_port": 65532,
"priority": 123
}
}

View File

@ -1,9 +1,9 @@
{
"OFPPacketIn" : {
"buffer_id" : 2,
"total_len" : 42,
"reason" : 1,
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD",
"in_port" : 99
"OFPPacketIn": {
"buffer_id": 2,
"data": "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD",
"in_port": 99,
"reason": 1,
"total_len": 42
}
}

View File

@ -1,3 +1,3 @@
{
"OFPFeaturesRequest" : {}
"OFPFeaturesRequest": {}
}

View File

@ -1,37 +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"
"OFPSwitchFeatures": {
"actions": 2115,
"capabilities": 169,
"datapath_id": 1095522080376,
"n_buffers": 0,
"n_tables": 255,
"ports": {
"6": {
"OFPPhyPort": {
"advertised": 640,
"config": 0,
"curr": 648,
"hw_addr": "8gukffjq",
"name": "UG9ydAYAAAAAAAAAAAAAAA==",
"peer": 648,
"port_no": 6,
"state": 2,
"supported": 648
}
},
"7" : {
"OFPPhyPort" : {
"curr" : 648,
"name" : "UG9ydAcAAAAAAAAAAAAAAA==",
"supported" : 648,
"state" : 16,
"port_no" : 7,
"advertised" : 640,
"config" : 0,
"peer" : 648,
"hw_addr" : "8guk0D9w"
},
"7": {
"OFPPhyPort": {
"advertised": 640,
"config": 0,
"curr": 648,
"hw_addr": "8guk0D9w",
"name": "UG9ydAcAAAAAAAAAAAAAAA==",
"peer": 648,
"port_no": 7,
"state": 16,
"supported": 648
}
}
},
"actions" : 2115,
"n_tables" : 255,
"capabilities" : 169,
"n_buffers" : 0,
"datapath_id" : 1095522080376
}
}
}

View File

@ -1,14 +1,14 @@
{
"OFPStatsReply" : {
"body" : {
"OFPDescStats" : {
"dp_desc" : "ZHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"mfr_desc" : "bWZyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"hw_desc" : "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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,15 +1,15 @@
{
"OFPPacketOut" : {
"buffer_id" : 4294967295,
"actions" : [
"OFPPacketOut": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 4294967292
"OFPActionOutput": {
"max_len": 65535,
"port": 4294967292
}
}
],
"in_port" : 4294967293,
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
],
"buffer_id": 4294967295,
"data": "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA=",
"in_port": 4294967293
}
}

View File

@ -1,3 +1,3 @@
{
"OFPHello" : {}
"OFPHello": {}
}

View File

@ -1,13 +1,13 @@
{
"OFPFlowStatsRequest" : {
"table_id" : 0,
"flags" : 0,
"out_group" : 4294967295,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"out_port" : 4294967295,
"cookie_mask" : 0
"OFPFlowStatsRequest": {
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"match": {
"OFPMatch": {}
},
"out_group": 4294967295,
"out_port": 4294967295,
"table_id": 0
}
}

View File

@ -1,114 +1,114 @@
{
"OFPStatsReply" : {
"body" : [
"OFPStatsReply": {
"body": [
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65535,
"instructions" : [],
"duration_nsec" : 115277000,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
"OFPFlowStats": {
"byte_count": 0,
"cookie": 0,
"duration_nsec": 115277000,
"duration_sec": 358,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [],
"match": {
"OFPMatch": {}
},
"packet_count": 0,
"priority": 65535,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65534,
"instructions" : [
"OFPFlowStats": {
"byte_count": 0,
"cookie": 0,
"duration_nsec": 115055000,
"duration_sec": 358,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 0,
"port" : 4294967290
"OFPActionOutput": {
"max_len": 0,
"port": 4294967290
}
}
],
"type" : 4
],
"type": 4
}
}
],
"duration_nsec" : 115055000,
"match" : {
"OFPMatch" : {
"eth_type" : 2054
],
"match": {
"OFPMatch": {
"eth_type": 2054
}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
},
"packet_count": 0,
"priority": 65534,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 123,
"instructions" : [
"OFPFlowStats": {
"byte_count": 238,
"cookie": 0,
"duration_nsec": 511582000,
"duration_sec": 316220,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionGotoTable" : {
"table_id" : 1
"OFPInstructionGotoTable": {
"table_id": 1
}
}
],
"duration_nsec" : 511582000,
"match" : {
"OFPMatch" : {
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
],
"match": {
"OFPMatch": {
"eth_src": "f2:0b:a4:7d:f8:ea",
"in_port": 6
}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 238,
"duration_sec" : 316220,
"packet_count" : 3
},
"packet_count": 3,
"priority": 123,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 0,
"instructions" : [
"OFPFlowStats": {
"byte_count": 98,
"cookie": 0,
"duration_nsec": 980901000,
"duration_sec": 313499,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 4294967293
"OFPActionOutput": {
"max_len": 65535,
"port": 4294967293
}
}
],
"type" : 3
],
"type": 3
}
}
],
"duration_nsec" : 980901000,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 98,
"duration_sec" : 313499,
"packet_count" : 1
],
"match": {
"OFPMatch": {}
},
"packet_count": 1,
"priority": 0,
"table_id": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPEchoRequest" : {
"data" : "aG9nZQ=="
"OFPEchoRequest": {
"data": "aG9nZQ=="
}
}

View File

@ -1,5 +1,5 @@
{
"OFPEchoReply" : {
"data" : "aG9nZQ=="
"OFPEchoReply": {
"data": "aG9nZQ=="
}
}

View File

@ -1,7 +1,7 @@
{
"OFPErrorMsg" : {
"data" : "ZnVnYWZ1Z2E=",
"type" : 2,
"code" : 11
"OFPErrorMsg": {
"code": 11,
"data": "ZnVnYWZ1Z2E=",
"type": 2
}
}

View File

@ -1,7 +1,7 @@
{
"OFPExperimenter" : {
"experimenter" : 98765432,
"data" : "bmF6bw==",
"exp_type" : 123456789
"OFPExperimenter": {
"data": "bmF6bw==",
"exp_type": 123456789,
"experimenter": 98765432
}
}

View File

@ -1,3 +1,3 @@
{
"OFPBarrierRequest" : {}
"OFPBarrierRequest": {}
}

View File

@ -1,3 +1,3 @@
{
"OFPBarrierReply" : {}
"OFPBarrierReply": {}
}

View File

@ -1,6 +1,6 @@
{
"OFPRoleRequest" : {
"generation_id" : 17294086455919964160,
"role" : 2
"OFPRoleRequest": {
"generation_id": 17294086455919964160,
"role": 2
}
}

View File

@ -1,35 +1,35 @@
{
"OFPFlowMod" : {
"table_id" : 1,
"priority" : 123,
"buffer_id" : 65535,
"hard_timeout" : 0,
"instructions" : [
"OFPFlowMod": {
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 6
"OFPActionOutput": {
"max_len": 65535,
"port": 6
}
}
],
"type" : 3
],
"type": 3
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"eth_dst" : "f2:0b:a4:7d:f8:ea"
],
"match": {
"OFPMatch": {
"eth_dst": "f2:0b:a4:7d:f8:ea"
}
},
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0
},
"out_group": 4294967295,
"out_port": 4294967295,
"priority": 123,
"table_id": 1
}
}

View File

@ -1,6 +1,6 @@
{
"OFPRoleReply" : {
"generation_id" : 17294086455919964160,
"role" : 3
"OFPRoleReply": {
"generation_id": 17294086455919964160,
"role": 3
}
}

View File

@ -1,24 +1,24 @@
{
"OFPGroupMod" : {
"group_id" : 1,
"buckets" : [
"OFPGroupMod": {
"buckets": [
{
"OFPBucket" : {
"actions" : [
"OFPBucket": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 2
"OFPActionOutput": {
"max_len": 65535,
"port": 2
}
}
],
"watch_port" : 1,
"watch_group" : 1,
"weight" : 1
],
"watch_group": 1,
"watch_port": 1,
"weight": 1
}
}
],
"type" : 0,
"command" : 0
],
"command": 0,
"group_id": 1,
"type": 0
}
}

View File

@ -1,9 +1,9 @@
{
"OFPPortMod" : {
"advertise" : 4096,
"port_no" : 1,
"config" : 0,
"hw_addr" : "ABEAABER",
"mask" : 0
"OFPPortMod": {
"advertise": 4096,
"config": 0,
"hw_addr": "ABEAABER",
"mask": 0,
"port_no": 1
}
}

View File

@ -1,6 +1,6 @@
{
"OFPTableMod" : {
"table_id" : 255,
"config" : 0
"OFPTableMod": {
"config": 0,
"table_id": 255
}
}

View File

@ -1,5 +1,5 @@
{
"OFPDescStatsRequest" : {
"flags" : 0
"OFPDescStatsRequest": {
"flags": 0
}
}

View File

@ -1,13 +1,13 @@
{
"OFPAggregateStatsRequest" : {
"table_id" : 255,
"flags" : 0,
"out_group" : 4294967295,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"out_port" : 4294967295,
"cookie_mask" : 0
"OFPAggregateStatsRequest": {
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"match": {
"OFPMatch": {}
},
"out_group": 4294967295,
"out_port": 4294967295,
"table_id": 255
}
}

View File

@ -1,12 +1,12 @@
{
"OFPStatsReply" : {
"body" : {
"OFPAggregateStatsReply" : {
"flow_count" : 6,
"byte_count" : 574,
"packet_count" : 7
"OFPStatsReply": {
"body": {
"OFPAggregateStatsReply": {
"byte_count": 574,
"flow_count": 6,
"packet_count": 7
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPTableStatsRequest" : {
"flags" : 0
"OFPTableStatsRequest": {
"flags": 0
}
}

View File

@ -1,6 +1,6 @@
{
"OFPPortStatsRequest" : {
"port_no" : 4294967295,
"flags" : 0
"OFPPortStatsRequest": {
"flags": 0,
"port_no": 4294967295
}
}

View File

@ -1,28 +1,28 @@
{
"OFPFlowMod" : {
"table_id" : 0,
"priority" : 123,
"buffer_id" : 65535,
"hard_timeout" : 0,
"instructions" : [
"OFPFlowMod": {
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionGotoTable" : {
"table_id" : 1
"OFPInstructionGotoTable": {
"table_id": 1
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
],
"match": {
"OFPMatch": {
"eth_src": "f2:0b:a4:7d:f8:ea",
"in_port": 6
}
},
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0
},
"out_group": 4294967295,
"out_port": 4294967295,
"priority": 123,
"table_id": 0
}
}

View File

@ -1,41 +1,41 @@
{
"OFPStatsReply" : {
"body" : [
"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": {
"collisions": 0,
"port_no": 7,
"rx_bytes": 0,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 0,
"tx_bytes": 336,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 4
}
},
},
{
"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
"OFPPortStats": {
"collisions": 0,
"port_no": 6,
"rx_bytes": 336,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 4,
"tx_bytes": 336,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 4
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPGroupFeaturesStatsRequest" : {
"flags" : 0
"OFPGroupFeaturesStatsRequest": {
"flags": 0
}
}

View File

@ -1,23 +1,23 @@
{
"OFPStatsReply" : {
"body" : {
"OFPGroupFeaturesStats" : {
"actions" : [
67082241,
67082241,
67082241,
"OFPStatsReply": {
"body": {
"OFPGroupFeaturesStats": {
"actions": [
67082241,
67082241,
67082241,
67082241
],
"max_groups" : [
16777216,
16777216,
16777216,
],
"capabilities": 5,
"max_groups": [
16777216,
16777216,
16777216,
16777216
],
"types" : 15,
"capabilities" : 5
],
"types": 15
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPGroupDescStatsRequest" : {
"flags" : 0
"OFPGroupDescStatsRequest": {
"flags": 0
}
}

View File

@ -1,30 +1,30 @@
{
"OFPStatsReply" : {
"body" : [
"OFPStatsReply": {
"body": [
{
"OFPGroupDescStats" : {
"group_id" : 1,
"buckets" : [
"OFPGroupDescStats": {
"buckets": [
{
"OFPBucket" : {
"watch_port" : 1,
"actions" : [
"OFPBucket": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 2
"OFPActionOutput": {
"max_len": 65535,
"port": 2
}
}
],
"watch_group" : 1,
"weight" : 1
],
"watch_group": 1,
"watch_port": 1,
"weight": 1
}
}
],
"type" : 0
],
"group_id": 1,
"type": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPQueueGetConfigRequest" : {
"port" : 4294967295
"OFPQueueGetConfigRequest": {
"port": 4294967295
}
}

View File

@ -1,41 +1,41 @@
{
"OFPQueueGetConfigReply" : {
"port" : 4294967295,
"queues" : [
"OFPQueueGetConfigReply": {
"port": 4294967295,
"queues": [
{
"OFPPacketQueue" : {
"queue_id" : 99,
"port" : 77,
"properties" : [
"OFPPacketQueue": {
"port": 77,
"properties": [
{
"OFPQueuePropMinRate" : {
"rate" : 10
"OFPQueuePropMinRate": {
"rate": 10
}
},
},
{
"OFPQueuePropMaxRate" : {
"rate" : 900
"OFPQueuePropMaxRate": {
"rate": 900
}
}
]
],
"queue_id": 99
}
},
},
{
"OFPPacketQueue" : {
"queue_id" : 88,
"port" : 77,
"properties" : [
"OFPPacketQueue": {
"port": 77,
"properties": [
{
"OFPQueuePropMinRate" : {
"rate" : 100
"OFPQueuePropMinRate": {
"rate": 100
}
},
},
{
"OFPQueuePropMaxRate" : {
"rate" : 200
"OFPQueuePropMaxRate": {
"rate": 200
}
}
]
],
"queue_id": 88
}
}
]

View File

@ -1,7 +1,7 @@
{
"OFPQueueStatsRequest" : {
"port_no" : 4294967295,
"flags" : 0,
"queue_id" : 4294967295
"OFPQueueStatsRequest": {
"flags": 0,
"port_no": 4294967295,
"queue_id": 4294967295
}
}

View File

@ -1,34 +1,34 @@
{
"OFPStatsReply" : {
"body" : [
"OFPStatsReply": {
"body": [
{
"OFPQueueStats" : {
"port_no" : 7,
"tx_packets" : 0,
"tx_bytes" : 0,
"queue_id" : 1,
"tx_errors" : 0
"OFPQueueStats": {
"port_no": 7,
"queue_id": 1,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 0
}
},
},
{
"OFPQueueStats" : {
"port_no" : 6,
"tx_packets" : 0,
"tx_bytes" : 0,
"queue_id" : 1,
"tx_errors" : 0
"OFPQueueStats": {
"port_no": 6,
"queue_id": 1,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 0
}
},
},
{
"OFPQueueStats" : {
"port_no" : 7,
"tx_packets" : 0,
"tx_bytes" : 0,
"queue_id" : 2,
"tx_errors" : 0
"OFPQueueStats": {
"port_no": 7,
"queue_id": 2,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,20 +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"
"OFPPortStatus": {
"desc": {
"OFPPort": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8guk0D9w",
"max_speed": 5000,
"name": "UG9ydAcAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 7,
"state": 4,
"supported": 10248
}
},
"reason" : 0
},
"reason": 0
}
}

View File

@ -1,22 +1,22 @@
{
"OFPPacketIn" : {
"table_id" : 1,
"buffer_id" : 2,
"total_len" : 42,
"match" : {
"OFPMatch" : {
"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"
"OFPPacketIn": {
"buffer_id": 2,
"data": "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD",
"match": {
"OFPMatch": {
"arp_op": 1,
"arp_sha": "f2:0b:a4:7d:f8:ea",
"arp_spa": "10.0.0.1",
"arp_tha": "00:00:00:00:00:00",
"arp_tpa": "10.0.0.3",
"eth_dst": "ff:ff:ff:ff:ff:ff",
"eth_src": "f2:0b:a4:7d:f8:ea",
"eth_type": 2054,
"in_port": 6
}
},
"reason" : 1,
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD"
},
"reason": 1,
"table_id": 1,
"total_len": 42
}
}

View File

@ -1,19 +1,19 @@
{
"OFPFlowRemoved" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65535,
"duration_nsec" : 48825000,
"match" : {
"OFPMatch" : {
"eth_dst" : "f2:0b:a4:7d:f8:ea"
"OFPFlowRemoved": {
"byte_count": 86,
"cookie": 0,
"duration_nsec": 48825000,
"duration_sec": 3,
"hard_timeout": 0,
"idle_timeout": 3,
"match": {
"OFPMatch": {
"eth_dst": "f2:0b:a4:7d:f8:ea"
}
},
"reason" : 0,
"cookie" : 0,
"idle_timeout" : 3,
"byte_count" : 86,
"duration_sec" : 3,
"packet_count" : 1
},
"packet_count": 1,
"priority": 65535,
"reason": 0,
"table_id": 0
}
}

View File

@ -1,7 +1,7 @@
{
"OFPErrorExperimenterMsg" : {
"experimenter" : 999999,
"data" : "amlra2VuIGRhdGE=",
"exp_type" : 60000
"OFPErrorExperimenterMsg": {
"data": "amlra2VuIGRhdGE=",
"exp_type": 60000,
"experimenter": 999999
}
}

View File

@ -1,3 +1,3 @@
{
"OFPFeaturesRequest" : {}
"OFPFeaturesRequest": {}
}

View File

@ -1,40 +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"
"OFPSwitchFeatures": {
"capabilities": 79,
"datapath_id": 603603843768844288,
"n_buffers": 0,
"n_tables": 255,
"ports": {
"6": {
"OFPPort": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8gukffjq",
"max_speed": 5000,
"name": "UG9ydAYAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 6,
"state": 4,
"supported": 10248
}
},
"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"
},
"7": {
"OFPPort": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8guk0D9w",
"max_speed": 5000,
"name": "UG9ydAcAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 7,
"state": 4,
"supported": 10248
}
}
},
"n_tables" : 255,
"capabilities" : 79,
"n_buffers" : 0,
"datapath_id" : 603603843768844288
}
}
}

View File

@ -1,6 +1,6 @@
{
"OFPSetConfig" : {
"flags" : 0,
"miss_send_len" : 128
"OFPSetConfig": {
"flags": 0,
"miss_send_len": 128
}
}

View File

@ -1,3 +1,3 @@
{
"OFPGetConfigRequest" : {}
"OFPGetConfigRequest": {}
}

View File

@ -1,6 +1,6 @@
{
"OFPGetConfigReply" : {
"flags" : 0,
"miss_send_len" : 128
"OFPGetConfigReply": {
"flags": 0,
"miss_send_len": 128
}
}

View File

@ -1,14 +1,14 @@
{
"OFPDescStatsReply" : {
"body" : {
"OFPDescStats" : {
"dp_desc" : "ZHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"mfr_desc" : "bWZyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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A=",
"sw_desc": "c3cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,15 +1,15 @@
{
"OFPPacketOut" : {
"buffer_id" : 4294967295,
"actions" : [
"OFPPacketOut": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 4294967292
"OFPActionOutput": {
"max_len": 65535,
"port": 4294967292
}
}
],
"in_port" : 4294967293,
"data" : "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA="
],
"buffer_id": 4294967295,
"data": "8guk0D9w8gukffjqCABFAABU+BoAAP8Br4sKAAABCgAAAggAAgj3YAAAMdYCAAAAAACrjS0xAAAAABAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vAAAAAAAAAAA=",
"in_port": 4294967293
}
}

View File

@ -1,14 +1,14 @@
{
"OFPHello" : {
"elements" : [
"OFPHello": {
"elements": [
{
"OFPHelloElemVersionBitmap" : {
"versions" : [
1,
2,
3,
9,
10,
"OFPHelloElemVersionBitmap": {
"versions": [
1,
2,
3,
9,
10,
30
]
}

View File

@ -1,13 +1,13 @@
{
"OFPFlowStatsRequest" : {
"table_id" : 0,
"out_group" : 4294967295,
"flags" : 0,
"out_port" : 4294967295,
"cookie" : 0,
"match" : {
"OFPMatch" : {}
},
"cookie_mask" : 0
"OFPFlowStatsRequest": {
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"match": {
"OFPMatch": {}
},
"out_group": 4294967295,
"out_port": 4294967295,
"table_id": 0
}
}

View File

@ -1,118 +1,118 @@
{
"OFPFlowStatsReply" : {
"body" : [
"OFPFlowStatsReply": {
"body": [
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65535,
"instructions" : [],
"flags" : 0,
"duration_nsec" : 115277000,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
"OFPFlowStats": {
"byte_count": 0,
"cookie": 0,
"duration_nsec": 115277000,
"duration_sec": 358,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [],
"match": {
"OFPMatch": {}
},
"packet_count": 0,
"priority": 65535,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65534,
"instructions" : [
"OFPFlowStats": {
"byte_count": 0,
"cookie": 0,
"duration_nsec": 115055000,
"duration_sec": 358,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 0,
"port" : 4294967290
"OFPActionOutput": {
"max_len": 0,
"port": 4294967290
}
}
],
"type" : 4
],
"type": 4
}
}
],
"flags" : 0,
"duration_nsec" : 115055000,
"match" : {
"OFPMatch" : {
"eth_type" : 2054
],
"match": {
"OFPMatch": {
"eth_type": 2054
}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 0,
"duration_sec" : 358,
"packet_count" : 0
},
"packet_count": 0,
"priority": 65534,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 123,
"instructions" : [
"OFPFlowStats": {
"byte_count": 238,
"cookie": 0,
"duration_nsec": 511582000,
"duration_sec": 316220,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionGotoTable" : {
"table_id" : 1
"OFPInstructionGotoTable": {
"table_id": 1
}
}
],
"flags" : 0,
"duration_nsec" : 511582000,
"match" : {
"OFPMatch" : {
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
],
"match": {
"OFPMatch": {
"eth_src": "f2:0b:a4:7d:f8:ea",
"in_port": 6
}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 238,
"duration_sec" : 316220,
"packet_count" : 3
},
"packet_count": 3,
"priority": 123,
"table_id": 0
}
},
},
{
"OFPFlowStats" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 0,
"instructions" : [
"OFPFlowStats": {
"byte_count": 98,
"cookie": 0,
"duration_nsec": 980901000,
"duration_sec": 313499,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 4294967293
"OFPActionOutput": {
"max_len": 65535,
"port": 4294967293
}
}
],
"type" : 3
],
"type": 3
}
}
],
"flags" : 0,
"duration_nsec" : 980901000,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"idle_timeout" : 0,
"byte_count" : 98,
"duration_sec" : 313499,
"packet_count" : 1
],
"match": {
"OFPMatch": {}
},
"packet_count": 1,
"priority": 0,
"table_id": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPEchoRequest" : {
"data" : "aG9nZQ=="
"OFPEchoRequest": {
"data": "aG9nZQ=="
}
}

View File

@ -1,5 +1,5 @@
{
"OFPEchoReply" : {
"data" : "aG9nZQ=="
"OFPEchoReply": {
"data": "aG9nZQ=="
}
}

View File

@ -1,7 +1,7 @@
{
"OFPErrorMsg" : {
"data" : "ZnVnYWZ1Z2E=",
"type" : 2,
"code" : 11
"OFPErrorMsg": {
"code": 11,
"data": "ZnVnYWZ1Z2E=",
"type": 2
}
}

View File

@ -1,7 +1,7 @@
{
"OFPExperimenter" : {
"experimenter" : 98765432,
"data" : "bmF6bw==",
"exp_type" : 123456789
"OFPExperimenter": {
"data": "bmF6bw==",
"exp_type": 123456789,
"experimenter": 98765432
}
}

View File

@ -1,3 +1,3 @@
{
"OFPBarrierRequest" : {}
"OFPBarrierRequest": {}
}

View File

@ -1,3 +1,3 @@
{
"OFPBarrierReply" : {}
"OFPBarrierReply": {}
}

View File

@ -1,6 +1,6 @@
{
"OFPRoleRequest" : {
"generation_id" : 17294086455919964160,
"role" : 2
"OFPRoleRequest": {
"generation_id": 17294086455919964160,
"role": 2
}
}

View File

@ -1,35 +1,35 @@
{
"OFPFlowMod" : {
"table_id" : 1,
"priority" : 123,
"buffer_id" : 65535,
"hard_timeout" : 0,
"instructions" : [
"OFPFlowMod": {
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 6
"OFPActionOutput": {
"max_len": 65535,
"port": 6
}
}
],
"type" : 3
],
"type": 3
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"eth_dst" : "f2:0b:a4:7d:f8:ea"
],
"match": {
"OFPMatch": {
"eth_dst": "f2:0b:a4:7d:f8:ea"
}
},
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0
},
"out_group": 4294967295,
"out_port": 4294967295,
"priority": 123,
"table_id": 1
}
}

View File

@ -1,6 +1,6 @@
{
"OFPRoleReply" : {
"generation_id" : 17294086455919964160,
"role" : 3
"OFPRoleReply": {
"generation_id": 17294086455919964160,
"role": 3
}
}

View File

@ -1,24 +1,24 @@
{
"OFPGroupMod" : {
"group_id" : 1,
"buckets" : [
"OFPGroupMod": {
"buckets": [
{
"OFPBucket" : {
"actions" : [
"OFPBucket": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 2
"OFPActionOutput": {
"max_len": 65535,
"port": 2
}
}
],
"watch_port" : 1,
"watch_group" : 1,
"weight" : 1
],
"watch_group": 1,
"watch_port": 1,
"weight": 1
}
}
],
"type" : 0,
"command" : 0
],
"command": 0,
"group_id": 1,
"type": 0
}
}

View File

@ -1,9 +1,9 @@
{
"OFPPortMod" : {
"advertise" : 4096,
"port_no" : 1,
"config" : 0,
"hw_addr" : "ABEAABER",
"mask" : 0
"OFPPortMod": {
"advertise": 4096,
"config": 0,
"hw_addr": "ABEAABER",
"mask": 0,
"port_no": 1
}
}

View File

@ -1,6 +1,6 @@
{
"OFPTableMod" : {
"table_id" : 255,
"config" : 0
"OFPTableMod": {
"config": 0,
"table_id": 255
}
}

View File

@ -1,5 +1,5 @@
{
"OFPDescStatsRequest" : {
"flags" : 0
"OFPDescStatsRequest": {
"flags": 0
}
}

View File

@ -1,13 +1,13 @@
{
"OFPAggregateStatsRequest" : {
"table_id" : 255,
"flags" : 0,
"out_group" : 4294967295,
"match" : {
"OFPMatch" : {}
},
"cookie" : 0,
"out_port" : 4294967295,
"cookie_mask" : 0
"OFPAggregateStatsRequest": {
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"match": {
"OFPMatch": {}
},
"out_group": 4294967295,
"out_port": 4294967295,
"table_id": 255
}
}

View File

@ -1,12 +1,12 @@
{
"OFPAggregateStatsReply" : {
"body" : {
"OFPAggregateStats" : {
"flow_count" : 6,
"byte_count" : 574,
"packet_count" : 7
"OFPAggregateStatsReply": {
"body": {
"OFPAggregateStats": {
"byte_count": 574,
"flow_count": 6,
"packet_count": 7
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPTableStatsRequest" : {
"flags" : 0
"OFPTableStatsRequest": {
"flags": 0
}
}

View File

@ -1,23 +1,23 @@
{
"OFPTableStatsReply" : {
"body" : [
"OFPTableStatsReply": {
"body": [
{
"OFPTableStats" : {
"table_id" : 0,
"matched_count" : 4,
"lookup_count" : 4,
"active_count" : 4
"OFPTableStats": {
"active_count": 4,
"lookup_count": 4,
"matched_count": 4,
"table_id": 0
}
},
},
{
"OFPTableStats" : {
"table_id" : 1,
"matched_count" : 4,
"lookup_count" : 4,
"active_count" : 4
"OFPTableStats": {
"active_count": 4,
"lookup_count": 4,
"matched_count": 4,
"table_id": 1
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,6 +1,6 @@
{
"OFPPortStatsRequest" : {
"port_no" : 4294967295,
"flags" : 0
"OFPPortStatsRequest": {
"flags": 0,
"port_no": 4294967295
}
}

View File

@ -1,28 +1,28 @@
{
"OFPFlowMod" : {
"table_id" : 0,
"priority" : 123,
"buffer_id" : 65535,
"hard_timeout" : 0,
"instructions" : [
"OFPFlowMod": {
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionGotoTable" : {
"table_id" : 1
"OFPInstructionGotoTable": {
"table_id": 1
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"eth_src" : "f2:0b:a4:7d:f8:ea",
"in_port" : 6
],
"match": {
"OFPMatch": {
"eth_src": "f2:0b:a4:7d:f8:ea",
"in_port": 6
}
},
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0
},
"out_group": 4294967295,
"out_port": 4294967295,
"priority": 123,
"table_id": 0
}
}

View File

@ -1,45 +1,45 @@
{
"OFPPortStatsReply" : {
"body" : [
"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": {
"collisions": 0,
"duration_nsec": 0,
"duration_sec": 0,
"port_no": 7,
"rx_bytes": 0,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 0,
"tx_bytes": 336,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 4
}
},
},
{
"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
"OFPPortStats": {
"collisions": 0,
"duration_nsec": 0,
"duration_sec": 0,
"port_no": 6,
"rx_bytes": 336,
"rx_crc_err": 0,
"rx_dropped": 0,
"rx_errors": 0,
"rx_frame_err": 0,
"rx_over_err": 0,
"rx_packets": 4,
"tx_bytes": 336,
"tx_dropped": 0,
"tx_errors": 0,
"tx_packets": 4
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPGroupFeaturesStatsRequest" : {
"flags" : 0
"OFPGroupFeaturesStatsRequest": {
"flags": 0
}
}

View File

@ -1,23 +1,23 @@
{
"OFPGroupFeaturesStatsReply" : {
"body" : {
"OFPGroupFeaturesStats" : {
"actions" : [
67082241,
67082241,
67082241,
"OFPGroupFeaturesStatsReply": {
"body": {
"OFPGroupFeaturesStats": {
"actions": [
67082241,
67082241,
67082241,
67082241
],
"max_groups" : [
16777216,
16777216,
16777216,
],
"capabilities": 5,
"max_groups": [
16777216,
16777216,
16777216,
16777216
],
"types" : 15,
"capabilities" : 5
],
"types": 15
}
},
"flags" : 0
},
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPGroupDescStatsRequest" : {
"flags" : 0
"OFPGroupDescStatsRequest": {
"flags": 0
}
}

View File

@ -1,30 +1,30 @@
{
"OFPGroupDescStatsReply" : {
"body" : [
"OFPGroupDescStatsReply": {
"body": [
{
"OFPGroupDescStats" : {
"group_id" : 1,
"buckets" : [
"OFPGroupDescStats": {
"buckets": [
{
"OFPBucket" : {
"watch_port" : 1,
"actions" : [
"OFPBucket": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 2
"OFPActionOutput": {
"max_len": 65535,
"port": 2
}
}
],
"watch_group" : 1,
"weight" : 1
],
"watch_group": 1,
"watch_port": 1,
"weight": 1
}
}
],
"type" : 0
],
"group_id": 1,
"type": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPQueueGetConfigRequest" : {
"port" : 4294967295
"OFPQueueGetConfigRequest": {
"port": 4294967295
}
}

View File

@ -1,41 +1,41 @@
{
"OFPQueueGetConfigReply" : {
"port" : 4294967295,
"queues" : [
"OFPQueueGetConfigReply": {
"port": 4294967295,
"queues": [
{
"OFPPacketQueue" : {
"queue_id" : 99,
"port" : 77,
"properties" : [
"OFPPacketQueue": {
"port": 77,
"properties": [
{
"OFPQueuePropMinRate" : {
"rate" : 10
"OFPQueuePropMinRate": {
"rate": 10
}
},
},
{
"OFPQueuePropMaxRate" : {
"rate" : 900
"OFPQueuePropMaxRate": {
"rate": 900
}
}
]
],
"queue_id": 99
}
},
},
{
"OFPPacketQueue" : {
"queue_id" : 88,
"port" : 77,
"properties" : [
"OFPPacketQueue": {
"port": 77,
"properties": [
{
"OFPQueuePropMinRate" : {
"rate" : 100
"OFPQueuePropMinRate": {
"rate": 100
}
},
},
{
"OFPQueuePropMaxRate" : {
"rate" : 200
"OFPQueuePropMaxRate": {
"rate": 200
}
}
]
],
"queue_id": 88
}
}
]

View File

@ -1,7 +1,7 @@
{
"OFPQueueStatsRequest" : {
"port_no" : 4294967295,
"flags" : 0,
"queue_id" : 4294967295
"OFPQueueStatsRequest": {
"flags": 0,
"port_no": 4294967295,
"queue_id": 4294967295
}
}

View File

@ -1,40 +1,40 @@
{
"OFPQueueStatsReply" : {
"body" : [
"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_nsec": 0,
"duration_sec": 0,
"port_no": 7,
"queue_id": 1,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 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_nsec": 0,
"duration_sec": 0,
"port_no": 6,
"queue_id": 1,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 0
}
},
},
{
"OFPQueueStats" : {
"duration_sec" : 0,
"port_no" : 7,
"duration_nsec" : 0,
"tx_bytes" : 0,
"tx_packets" : 0,
"queue_id" : 2,
"tx_errors" : 0
"OFPQueueStats": {
"duration_nsec": 0,
"duration_sec": 0,
"port_no": 7,
"queue_id": 2,
"tx_bytes": 0,
"tx_errors": 0,
"tx_packets": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,20 +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"
"OFPPortStatus": {
"desc": {
"OFPPort": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8guk0D9w",
"max_speed": 5000,
"name": "UG9ydAcAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 7,
"state": 4,
"supported": 10248
}
},
"reason" : 0
},
"reason": 0
}
}

View File

@ -1,23 +1,23 @@
{
"OFPPacketIn" : {
"table_id" : 1,
"buffer_id" : 2,
"total_len" : 42,
"match" : {
"OFPMatch" : {
"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"
"OFPPacketIn": {
"buffer_id": 2,
"cookie": 283686884868096,
"data": "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD",
"match": {
"OFPMatch": {
"arp_op": 1,
"arp_sha": "f2:0b:a4:7d:f8:ea",
"arp_spa": "10.0.0.1",
"arp_tha": "00:00:00:00:00:00",
"arp_tpa": "10.0.0.3",
"eth_dst": "ff:ff:ff:ff:ff:ff",
"eth_src": "f2:0b:a4:7d:f8:ea",
"eth_type": 2054,
"in_port": 6
}
},
"cookie" : 283686884868096,
"reason" : 1,
"data" : "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD"
},
"reason": 1,
"table_id": 1,
"total_len": 42
}
}

View File

@ -1,19 +1,19 @@
{
"OFPFlowRemoved" : {
"table_id" : 0,
"hard_timeout" : 0,
"priority" : 65535,
"duration_nsec" : 48825000,
"match" : {
"OFPMatch" : {
"eth_dst" : "f2:0b:a4:7d:f8:ea"
"OFPFlowRemoved": {
"byte_count": 86,
"cookie": 0,
"duration_nsec": 48825000,
"duration_sec": 3,
"hard_timeout": 0,
"idle_timeout": 3,
"match": {
"OFPMatch": {
"eth_dst": "f2:0b:a4:7d:f8:ea"
}
},
"reason" : 0,
"cookie" : 0,
"idle_timeout" : 3,
"byte_count" : 86,
"duration_sec" : 3,
"packet_count" : 1
},
"packet_count": 1,
"priority": 65535,
"reason": 0,
"table_id": 0
}
}

View File

@ -1,3 +1,3 @@
{
"OFPGetAsyncRequest" : {}
"OFPGetAsyncRequest": {}
}

View File

@ -1,15 +1,15 @@
{
"OFPGetAsyncReply" : {
"port_status_mask" : [
7,
"OFPGetAsyncReply": {
"flow_removed_mask": [
15,
3
],
"packet_in_mask" : [
5,
],
"packet_in_mask": [
5,
1
],
"flow_removed_mask" : [
15,
],
"port_status_mask": [
7,
3
]
}

View File

@ -1,15 +1,15 @@
{
"OFPSetAsync" : {
"port_status_mask" : [
7,
"OFPSetAsync": {
"flow_removed_mask": [
15,
3
],
"packet_in_mask" : [
5,
],
"packet_in_mask": [
5,
1
],
"flow_removed_mask" : [
15,
],
"port_status_mask": [
7,
3
]
}

View File

@ -1,29 +1,29 @@
{
"OFPMeterMod" : {
"meter_id" : 100,
"flags" : 14,
"bands" : [
"OFPMeterMod": {
"bands": [
{
"OFPMeterBandDrop" : {
"rate" : 1000,
"burst_size" : 10
"OFPMeterBandDrop": {
"burst_size": 10,
"rate": 1000
}
},
},
{
"OFPMeterBandDscpRemark" : {
"rate" : 1000,
"burst_size" : 10,
"prec_level" : 1
"OFPMeterBandDscpRemark": {
"burst_size": 10,
"prec_level": 1,
"rate": 1000
}
},
},
{
"OFPMeterBandExperimenter" : {
"experimenter" : 999,
"rate" : 1000,
"burst_size" : 10
"OFPMeterBandExperimenter": {
"burst_size": 10,
"experimenter": 999,
"rate": 1000
}
}
],
"command" : 0
],
"command": 0,
"flags": 14,
"meter_id": 100
}
}

View File

@ -1,40 +1,40 @@
{
"OFPFlowMod" : {
"table_id" : 1,
"priority" : 123,
"buffer_id" : 65535,
"hard_timeout" : 0,
"instructions" : [
"OFPFlowMod": {
"buffer_id": 65535,
"command": 0,
"cookie": 0,
"cookie_mask": 0,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [
{
"OFPInstructionMeter" : {
"meter_id" : 1
"OFPInstructionMeter": {
"meter_id": 1
}
},
},
{
"OFPInstructionActions" : {
"actions" : [
"OFPInstructionActions": {
"actions": [
{
"OFPActionOutput" : {
"max_len" : 65535,
"port" : 6
"OFPActionOutput": {
"max_len": 65535,
"port": 6
}
}
],
"type" : 3
],
"type": 3
}
}
],
"out_group" : 4294967295,
"flags" : 0,
"match" : {
"OFPMatch" : {
"eth_dst" : "f2:0b:a4:7d:f8:ea"
],
"match": {
"OFPMatch": {
"eth_dst": "f2:0b:a4:7d:f8:ea"
}
},
"cookie" : 0,
"idle_timeout" : 0,
"cookie_mask" : 0,
"out_port" : 4294967295,
"command" : 0
},
"out_group": 4294967295,
"out_port": 4294967295,
"priority": 123,
"table_id": 1
}
}

View File

@ -1,6 +1,6 @@
{
"OFPMeterConfigStatsRequest" : {
"meter_id" : 4294967295,
"flags" : 0
"OFPMeterConfigStatsRequest": {
"flags": 0,
"meter_id": 4294967295
}
}

View File

@ -1,21 +1,21 @@
{
"OFPMeterConfigStatsReply" : {
"body" : [
"OFPMeterConfigStatsReply": {
"body": [
{
"OFPMeterConfigStats" : {
"meter_id" : 100,
"flags" : 14,
"bands" : [
"OFPMeterConfigStats": {
"bands": [
{
"OFPMeterBandDrop" : {
"rate" : 1000,
"burst_size" : 10
"OFPMeterBandDrop": {
"burst_size": 10,
"rate": 1000
}
}
]
],
"flags": 14,
"meter_id": 100
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,6 +1,6 @@
{
"OFPMeterStatsRequest" : {
"meter_id" : 4294967295,
"flags" : 0
"OFPMeterStatsRequest": {
"flags": 0,
"meter_id": 4294967295
}
}

View File

@ -1,3 +1,3 @@
{
"OFPFeaturesRequest" : {}
"OFPFeaturesRequest": {}
}

View File

@ -1,25 +1,25 @@
{
"OFPMeterStatsReply" : {
"body" : [
"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" : [
"OFPMeterStats": {
"band_stats": [
{
"OFPMeterBandStats" : {
"packet_band_count" : 0,
"byte_band_count" : 0
"OFPMeterBandStats": {
"byte_band_count": 0,
"packet_band_count": 0
}
}
]
],
"byte_in_count": 0,
"duration_nsec": 480000,
"duration_sec": 0,
"flow_count": 0,
"meter_id": 100,
"packet_in_count": 0
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPMeterFeaturesStatsRequest" : {
"flags" : 0
"OFPMeterFeaturesStatsRequest": {
"flags": 0
}
}

View File

@ -1,16 +1,16 @@
{
"OFPMeterFeaturesStatsReply" : {
"body" : [
"OFPMeterFeaturesStatsReply": {
"body": [
{
"OFPMeterFeaturesStats" : {
"band_types" : 2147483654,
"max_meter" : 16777216,
"capabilities" : 15,
"max_color" : 0,
"max_band" : 255
"OFPMeterFeaturesStats": {
"band_types": 2147483654,
"capabilities": 15,
"max_band": 255,
"max_color": 0,
"max_meter": 16777216
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,5 +1,5 @@
{
"OFPPortDescStatsRequest" : {
"flags" : 0
"OFPPortDescStatsRequest": {
"flags": 0
}
}

View File

@ -1,37 +1,37 @@
{
"OFPPortDescStatsReply" : {
"body" : [
"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": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8guk0D9w",
"max_speed": 5000,
"name": "UG9ydDcAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 7,
"state": 4,
"supported": 10248
}
},
},
{
"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"
"OFPPort": {
"advertised": 10240,
"config": 0,
"curr": 10248,
"curr_speed": 5000,
"hw_addr": "8gukffjq",
"max_speed": 5000,
"name": "UG9ydDYAAAAAAAAAAAAAAA==",
"peer": 10248,
"port_no": 6,
"state": 4,
"supported": 10248
}
}
],
"flags" : 0
],
"flags": 0
}
}

View File

@ -1,117 +1,117 @@
{
"OFPTableFeaturesStatsReply" : {
"body" : [
"OFPTableFeaturesStatsReply": {
"body": [
{
"OFPTableFeaturesStats" : {
"table_id" : 0,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDAwAAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDAwAAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 0
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 1,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDAxAAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDAxAAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 1
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 2,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDAyAAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDAyAAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 2
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 3,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDAzAAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDAzAAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 3
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 4,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA0AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA0AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 4
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 5,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA1AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA1AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 5
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 6,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA2AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA2AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 6
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 7,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA3AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA3AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 7
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 8,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA4AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA4AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 8
}
},
},
{
"OFPTableFeaturesStats" : {
"table_id" : 9,
"max_entries" : 16777216,
"metadata_match" : 18446744073709551615,
"metadata_write" : 18446744073709551615,
"name" : "RmxvdyBUYWJsZSAweDA5AAAAAAAAAAAAAAAAAAAAAAA=",
"config" : 0,
"properties" : []
"OFPTableFeaturesStats": {
"config": 0,
"max_entries": 16777216,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "RmxvdyBUYWJsZSAweDA5AAAAAAAAAAAAAAAAAAAAAAA=",
"properties": [],
"table_id": 9
}
}
],
"flags" : 2
],
"flags": 2
}
}

View File

@ -1,9 +1,9 @@
{
"OFPSwitchFeatures" : {
"capabilities" : 79,
"n_tables" : 255,
"auxiliary_id" : 99,
"datapath_id" : 603603843768844288,
"n_buffers" : 0
"OFPSwitchFeatures": {
"auxiliary_id": 99,
"capabilities": 79,
"datapath_id": 603603843768844288,
"n_buffers": 0,
"n_tables": 255
}
}

View File

@ -1,6 +1,6 @@
{
"OFPSetConfig" : {
"flags" : 0,
"miss_send_len" : 128
"OFPSetConfig": {
"flags": 0,
"miss_send_len": 128
}
}

Some files were not shown because too many files have changed in this diff Show More