Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-28

Incorrect data types for certain Flow attributes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • 0.4.0
    • None
    • adsal
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            tnevrekar Tejas Nevrekar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: