test_parser: Add test case for OFP15 group_desc reply
TODO: Because Open vSwitch (lib/ofp-util) does not support OF1.5 group_desc structure [EXT-350] yet, re-generate the packet data by using packet_data_generator2 when Open vSwitch supports it. Reference: OpenFlow 1.1+ support status of Open vSwitch https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md 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:
parent
148cd09792
commit
5e6877b10a
Binary file not shown.
@ -0,0 +1,45 @@
|
||||
{
|
||||
"OFPGroupDescStatsReply": {
|
||||
"body": [
|
||||
{
|
||||
"OFPGroupDescStats": {
|
||||
"bucket_array_len": 32,
|
||||
"buckets": [
|
||||
{
|
||||
"OFPBucket": {
|
||||
"action_array_len": 16,
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionOutput": {
|
||||
"len": 16,
|
||||
"max_len": 65509,
|
||||
"port": 1,
|
||||
"type": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"bucket_id": 65535,
|
||||
"len": 32,
|
||||
"properties": [
|
||||
{
|
||||
"OFPGroupBucketPropWeight": {
|
||||
"length": 8,
|
||||
"type": 0,
|
||||
"weight": 65535
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"group_id": 1,
|
||||
"length": 48,
|
||||
"properties": [],
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags": 0,
|
||||
"type": 7
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user