test_parser: Regen OFP15 port_desc request packet
Re-generate the packet data by using packet_data_generator2.
(This patch is to complete the TODO of b7b8e2fca3
)
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
310397305b
commit
e8cda9e30a
Binary file not shown.
@ -285,6 +285,14 @@ group_desc_request(enum ofputil_protocol proto)
|
||||
return ofputil_encode_group_desc_request(0x06, group_id);
|
||||
}
|
||||
|
||||
struct ofpbuf *
|
||||
port_desc_request(enum ofputil_protocol proto)
|
||||
{
|
||||
uint32_t port_no = 0xbcda;
|
||||
|
||||
return ofputil_encode_port_desc_stats_request(0x06, port_no);
|
||||
}
|
||||
|
||||
struct protocol_version {
|
||||
const char *name;
|
||||
const char *dir_name;
|
||||
@ -322,6 +330,8 @@ const struct message messages[] = {
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
M(group_desc_request,
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
M(port_desc_request,
|
||||
((const struct protocol_version *[]){&p15, NULL})),
|
||||
};
|
||||
|
||||
#if !defined(__arraycount)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"OFPPortDescStatsRequest": {
|
||||
"flags": 0,
|
||||
"port_no": 43981,
|
||||
"port_no": 48346,
|
||||
"type": 13
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user