os-ken/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json
Yusuke Iwase d815eb0f17 test_parser: Add test case for OXS related messages in OF1.5
TODO: Because Open vSwitch (lib/ofp-util) does not support
Extensible Flow Entry Statistics [EXT-334] yet, re-generate
the packet data by using packet_data_generator2 when
Open vSwitch supports it.

Reference: OpenFlow 1.1+ support status of Open vSwitch
https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-08-03 21:32:51 +09:00

45 lines
1.4 KiB
JSON

{
"OFPFlowStatsReply": {
"body": [
{
"OFPFlowStats": {
"length": 40,
"match": {
"OFPMatch": {
"length": 12,
"oxm_fields": [
{
"OXMTlv": {
"field": "in_port",
"mask": null,
"value": 1
}
}
],
"type": 1
}
},
"priority": 1,
"reason": 0,
"stats": {
"OFPStats": {
"length": 12,
"oxs_fields": [
{
"OXSTlv": {
"field": "flow_count",
"value": 1
}
}
]
}
},
"table_id": 1
}
}
],
"flags": 0,
"type": 17
}
}