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

set-tos-action does not work

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: Mac OS
      Platform: Macintosh

    • 269
    • Normal

    Description

      when set-tos-action is used in a flow-add operation from restconf, no flow-mod message is sent to the switch. All other parameters of the flow with a different action.

      The following xml can be used to reproduce the problem:

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <flow xmlns="urn:opendaylight:flow:inventory">
      <strict>false</strict>
      <instructions>
      <instruction>
      <order>0</order>
      <apply-actions>
      <action>
      <order>0</order>
      <set-nw-tos-action>
      <tos>1</tos>
      </set-nw-tos-action>
      </action>
      </apply-actions>
      </instruction>
      </instructions>
      <table_id>2</table_id>
      <id>159</id>
      <cookie_mask>255</cookie_mask>
      <installHw>false</installHw>
      <match>
      <ethernet-match>
      <ethernet-type>
      <type>2048</type>
      </ethernet-type>
      </ethernet-match>
      <ipv4-destination>10.0.0.1/24</ipv4-destination>
      </match>
      <hard-timeout>12</hard-timeout>
      <flags>FlowModFlags [_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false]</flags>
      <cookie>36</cookie>
      <idle-timeout>34</idle-timeout>
      <flow-name>FooXf36</flow-name>
      <priority>2</priority>
      <barrier>false</barrier>
      </flow>

      USe HTTP PUT with the following URL:

      http://192.168.4.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/159

      Attachments

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

        Activity

          People

            jyotsna.priya1@tcs.com Jyotsna Priya
            jmedved@cisco.com Jan Medved
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: