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

of-flow: flow not deleted from device not operational table (but deleted from operational flow)

    XMLWordPrintable

Details

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

    • 2028

    Description

      odl: distribution-karaf-0.2.0-Helium-RC1-6-v201409220013

      env: mininet 2.1.0, ovs 2.0.0

      flow: integration.git /test/csit/variables/xmls/f32.xml

      steps to reproduce:

      1) add flow:
      PUT request sent to url http://pce-guest37.cisco.com:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/155
      with f32.xml as a content

      2) check operational ds
      GEThttp://pce-guest37.cisco.com:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/155

      GEThttp://pce-guest37.cisco.com:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2

      returned 200 OK with flow details

      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0xa, duration=8.969s, table=2, n_packets=0, n_bytes=0, idle_timeout=300, hard_timeout=600, send_flow_rem priority=32,ip,nw_dst=10.0.0.0/24 actions=set_mpls_ttl(1)

      3) delete
      DEL request sent to url http://pce-guest37.cisco.com:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/155
      DEL Response 200

      4) check:
      present on device
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      cookie=0xa, duration=39.373s, table=2, n_packets=0, n_bytes=0, idle_timeout=300, hard_timeout=600, send_flow_rem priority=32,ip,nw_dst=10.0.0.0/24 actions=set_mpls_ttl(1)

      not present in "flow"
      GET request sent to url http://pce-guest37.cisco.com:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/155
      GET response 404

      but present in "table"
      GET request sent to url http://pce-guest37.cisco.com:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/2
      GET response 200
      Response content: <table xmlns="urn:opendaylight:flow:inventory"><id>2</id><flow-table-statistics xmlns="urn:opendaylight:flow:table:statistics"><packets-looked-up>0</packets-looked-up><active-flows>1</active-flows><packets-matched>0</packets-matched></flow-table-statistics><flow-cookie-map><cookie>10</cookie><flow-ids>#UF$TABLE*2-1</flow-ids><flow-ids>155</flow-ids></flow-cookie-map><flow><id>#UF$TABLE*2-1</id><flags>SEND_FLOW_REM</flags><match><ipv4-destination>10.0.0.0/24</ipv4-destination><ethernet-match><ethernet-type><type>2048</type></ethernet-type></ethernet-match></match><priority>32</priority><idle-timeout>300</idle-timeout><instructions><instruction><order>0</order><apply-actions><action><order>0</order><set-mpls-ttl-action><mpls-ttl>1</mpls-ttl></set-mpls-ttl-action></action></apply-actions></instruction></instructions><flow-statistics xmlns="urn:opendaylight:flow:statistics"><duration><nanosecond>234000000</nanosecond><second>49</second></duration><byte-count>0</byte-count><packet-count>0</packet-count></flow-statistics><table_id>2</table_id><hard-timeout>600</hard-timeout><cookie>10</cookie></flow></table>

      expected: to be deleted from everywhere

      Attachments

        1. f32.pcap
          428 kB
        2. karaf.log
          173 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Avishnoi Anil Vishnoi
            pgubka@cisco.com Peter Gubka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: