Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-289

Wrong values in IP ToS bits match field for OF 1.0

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 1994

    Description

      I've observed that the MD-SAL OF plugin set wrong values in IP ToS bits match field of FLOW_MOD messages for OpenFlow 1.0 switch.
      On the other hand, it works correctly for OpenFlow 1.3 switches.

      It seems to me that the OF plugin set DSCP value into ofp_match.nw_tos, although it must use the TOS (DSCP << 2) value.

      [How to reproduce the problem]

      Please try to install flow entry which has IP ToS bits match field.

      Method: PUT

      URL:
      http://od-ip-address:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01/staticFlow/flow1

      Message Body:
      { "installInHw":"true", "name":"flow1", "node":

      {"id":"00:00:00:00:00:00:00:01","type":"OF"}

      ,"ingressPort":"1","priority":"500","tosBits":"3","actions":["SET_NW_TOS=1"] }

      Attachments

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

        Activity

          People

            Hideyuki1985 Hideyuki Tai
            Hideyuki1985 Hideyuki Tai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: