test_parser: Add test case for OFP15 table_features_request

TODO: Because Open vSwitch (lib/ofp-util) does not support Egress
Tables [EXT-306] 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:
Yusuke Iwase 2015-08-07 10:26:01 +09:00 committed by FUJITA Tomonori
parent 605165ce92
commit 48ce2b5cc8
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{
"OFPTableFeaturesStatsRequest": {
"body": [
{
"OFPTableFeaturesStats": {
"capabilities": 4,
"command": 1,
"features": 1,
"length": 80,
"max_entries": 255,
"metadata_match": 18446744073709551615,
"metadata_write": 18446744073709551615,
"name": "table1",
"properties": [
{
"OFPTableFeaturePropOxmValues": {
"length": 14,
"oxm_values": [
{
"OXMTlv": {
"field": "eth_src",
"mask": null,
"value": "aa:bb:cc:dd:ee:ff"
}
}
],
"type": 22
}
}
],
"table_id": 1
}
}
],
"flags": 0,
"type": 12
}
}