test_parser: Regen OFP15 group_desc request packet
Re-generate the packet data by using packet_data_generator2.
(This patch is to complete the TODO of d0733220f3
)
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
d815eb0f17
commit
310397305b
Binary file not shown.
@ -277,6 +277,14 @@ bundle_add(enum ofputil_protocol proto)
|
||||
return add;
|
||||
}
|
||||
|
||||
struct ofpbuf *
|
||||
group_desc_request(enum ofputil_protocol proto)
|
||||
{
|
||||
uint32_t group_id = 0xcdab;
|
||||
|
||||
return ofputil_encode_group_desc_request(0x06, group_id);
|
||||
}
|
||||
|
||||
struct protocol_version {
|
||||
const char *name;
|
||||
const char *dir_name;
|
||||
@ -312,6 +320,8 @@ const struct message messages[] = {
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
M(bundle_add,
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
M(group_desc_request,
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
};
|
||||
|
||||
#if !defined(__arraycount)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"OFPGroupDescStatsRequest": {
|
||||
"flags": 0,
|
||||
"group_id": 43981,
|
||||
"group_id": 52651,
|
||||
"type": 7
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user