test_parser: Add some expected json representations

This patch adds expected json representations for:
 - ofp_group_stats_request
 - fp_group_stats_reply

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWASE Yusuke 2015-12-22 11:49:16 +09:00 committed by FUJITA Tomonori
parent 9418dc530d
commit d58d93f2db
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
"OFPGroupStatsRequest": {
"flags": 0,
"group_id": 4294967292
}
}

View File

@ -0,0 +1,25 @@
{
"OFPStatsReply": {
"body": [
{
"OFPGroupStats": {
"bucket_counters": [
{
"OFPBucketCounter": {
"byte_count": 2345,
"packet_count": 234
}
}
],
"byte_count": 12345,
"group_id": 1,
"length": 48,
"packet_count": 123,
"ref_count": 2
}
}
],
"flags": 0,
"type": 6
}
}