os-ken/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json
YAMAMOTO Takashi c43c6e49e5 test_parser: Add a expected result
For OpenFlow 1.5.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-04-03 17:51:29 +09:00

47 lines
1.1 KiB
JSON

{
"OFPPacketIn": {
"buffer_id": 200,
"cookie": 0,
"data": "aG9nZQ==",
"match": {
"OFPMatch": {
"length": 40,
"oxm_fields": [
{
"OXMTlv": {
"field": "in_port",
"mask": null,
"value": 43981
}
},
{
"OXMTlv": {
"field": "tunnel_id",
"mask": null,
"value": 50000
}
},
{
"OXMTlv": {
"field": "tun_ipv4_src",
"mask": null,
"value": "192.168.2.3"
}
},
{
"OXMTlv": {
"field": "tun_ipv4_dst",
"mask": null,
"value": "192.168.2.4"
}
}
],
"type": 1
}
},
"reason": 0,
"table_id": 100,
"total_len": 1000
}
}