test_parser: Add test case for OFP15 bundle_features request/reply
TODO: Because Open vSwitch (lib/ofp-util) does not support time scheduled bundles [EXT-340] 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
48ce2b5cc8
commit
a4a75eb2a5
Binary file not shown.
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
{
|
||||
"OFPBundleFeaturesStatsReply": {
|
||||
"body": {
|
||||
"OFPBundleFeaturesStats": {
|
||||
"capabilities": 7,
|
||||
"properties": [
|
||||
{
|
||||
"OFPBundleFeaturesPropTime": {
|
||||
"length": 72,
|
||||
"sched_accuracy": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 1717986918,
|
||||
"seconds": 6148914691236517205
|
||||
}
|
||||
},
|
||||
"sched_max_future": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 2290649224,
|
||||
"seconds": 8608480567731124087
|
||||
}
|
||||
},
|
||||
"sched_max_past": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 2863311530,
|
||||
"seconds": 11068046444225730969
|
||||
}
|
||||
},
|
||||
"timestamp": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 3435973836,
|
||||
"seconds": 13527612320720337851
|
||||
}
|
||||
},
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"flags": 0,
|
||||
"type": 19
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
{
|
||||
"OFPBundleFeaturesStatsRequest": {
|
||||
"feature_request_flags": 3,
|
||||
"flags": 0,
|
||||
"properties": [
|
||||
{
|
||||
"OFPBundleFeaturesPropTime": {
|
||||
"length": 72,
|
||||
"sched_accuracy": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 1717986918,
|
||||
"seconds": 6148914691236517205
|
||||
}
|
||||
},
|
||||
"sched_max_future": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 2290649224,
|
||||
"seconds": 8608480567731124087
|
||||
}
|
||||
},
|
||||
"sched_max_past": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 2863311530,
|
||||
"seconds": 11068046444225730969
|
||||
}
|
||||
},
|
||||
"timestamp": {
|
||||
"OFPTime": {
|
||||
"nanoseconds": 3435973836,
|
||||
"seconds": 13527612320720337851
|
||||
}
|
||||
},
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 19
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user