test_parser: Add an truncate packet test

Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWAMOTO Toshihiro 2016-10-07 16:38:00 +09:00 committed by FUJITA Tomonori
parent e8809649e6
commit 022406507a
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{
"OFPTruncatedMessage": {
"OFPFlowMod": {
"buffer_id": 0,
"command": 0,
"cookie": 1311768467463790320,
"cookie_mask": 18446744073709551615,
"flags": 0,
"hard_timeout": 0,
"idle_timeout": 0,
"instructions": [],
"match": {
"OFPMatch": {
"length": 70,
"oxm_fields": [
{
"OXMTlv": {
"field": "in_port",
"mask": null,
"value": 43981
}
}
],
"type": 1
}
},
"out_group": 0,
"out_port": 0,
"priority": 0,
"table_id": 2
}
}
}