Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
0.4.0
-
None
-
None
-
Operating System: All
Platform: All
-
57
Description
The following data types used in the ODL code base for the Flow class seem incorrect looking at what is required by the OF1.0.0 standard. Any boundary tests will fail using these data types.
Field ODL Data Type ODL Range OF 1.0.0 Data Type OF 1.0.0 Range
idle_timeout short -32767 to +32767 uint16_t 0 to +65535
hard_timeout short -32767 to +32767 uint16_t 0 to +65535
priority short -32767 to +32767 uint16_t 0 to +65535
I see the same data types used in the SAL as well as the plugin layer for these fields. The fix for this needs to be done to both these data structures. A probable solution could be to move to the java int, in spite of its known costs.