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

UDP matching flow adds a match on dst port=0 (only occurs with OF10)

    XMLWordPrintable

Details

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

    • 2442

    Description

      Just tried this flow with OF10 mininet:

      PUT http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/5

      <flow>
      <priority>50</priority>
      <idle-timeout>0</idle-timeout>
      <hard-timeout>0</hard-timeout>
      <table_id>0</table_id>
      <id>5</id>
      <flow-name>flow5</flow-name>
      <match>
      <ethernet-match>
      <ethernet-type>
      <type>0x800</type>
      </ethernet-type>
      </ethernet-match>
      <ip-match>
      <ip-protocol>17</ip-protocol>
      </ip-match>
      <ipv4-destination>30.30.30.3</ipv4-destination>
      </match>
      <instructions>
      <instruction>
      <order>1</order>
      <apply-actions>
      <action>
      <order>0</order>
      <drop-action/>
      </action>
      </apply-actions>
      </instruction>
      </instructions>
      </flow>

      If I look at the switch I see tp_dst=0:

      mininet> dpctl dump-flows

          • s1 ------------------------------------------------------------------------
            NXST_FLOW reply (xid=0x4):
            cookie=0x0, duration=92.687s, table=0, n_packets=0, n_bytes=0, idle_age=92, priority=50,udp,nw_dst=30.30.30.3,tp_dst=0 actions=drop

      BR/Luis

      Attachments

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

        Activity

          People

            Avishnoi Anil Vishnoi
            ecelgp Luis Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: