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

Flow id corrupted in operational data

    XMLWordPrintable

Details

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

    • 1565

    Description

      After pushing following flow:

      {
      "flow-node-inventory:table": [
      {
      "flow-node-inventory:flow": [
      {
      "flow-node-inventory:flow-name": "foo",
      "flow-node-inventory:match": {
      "flow-node-inventory:vlan-match": {
      "flow-node-inventory:vlan-id":

      { "flow-node-inventory:vlan-id": 78, "flow-node-inventory:vlan-id-present": true }

      ,
      "flow-node-inventory:vlan-pcp": 3
      },
      "flow-node-inventory:ethernet-match": {
      "flow-node-inventory:ethernet-destination":

      { "flow-node-inventory:address": "ff:ff:29:01:19:61" }

      ,
      "flow-node-inventory:ethernet-source":

      { "flow-node-inventory:address": "00:00:00:11:23:ae" }

      ,
      "flow-node-inventory:ethernet-type":

      { "flow-node-inventory:type": 2048 }

      }
      },
      "flow-node-inventory:priority": 2,
      "flow-node-inventory:instructions": {
      "flow-node-inventory:instruction": [
      {
      "flow-node-inventory:apply-actions": {
      "flow-node-inventory:action": [
      {
      "flow-node-inventory:order": 2,
      "flow-node-inventory:output-action":

      { "flow-node-inventory:output-node-connector": "openflow:1:1" }

      },
      {
      "flow-node-inventory:order": 1,
      "flow-node-inventory:set-field": {
      "flow-node-inventory:vlan-match": {
      "flow-node-inventory:vlan-id":

      { "flow-node-inventory:vlan-id": 79, "flow-node-inventory:vlan-id-present": true }

      ,
      "flow-node-inventory:vlan-pcp": 4
      }
      }
      }
      ]
      },
      "flow-node-inventory:order": 0
      }
      ]
      },
      "flow-node-inventory:strict": false,
      "flow-node-inventory:table_id": 0,
      "flow-node-inventory:id": "138"
      }
      ],
      "flow-node-inventory:id": 0
      }
      ]
      }

      I check Operational data for it:

      {
      "flow-node-inventory:table": [
      {
      "opendaylight-flow-table-statistics:flow-table-statistics":

      { "opendaylight-flow-table-statistics:packets-looked-up": 404, "opendaylight-flow-table-statistics:active-flows": 10, "opendaylight-flow-table-statistics:packets-matched": 212 }

      ,
      "flow-node-inventory:flow-cookie-map": [

      { "flow-node-inventory:flow-ids": [ "#UF$TABLE*0-1" ], "flow-node-inventory:cookie": 1 }

      ],
      "flow-node-inventory:flow": [
      {
      "flow-node-inventory:match": {
      "flow-node-inventory:vlan-match": {
      "flow-node-inventory:vlan-id":

      { "flow-node-inventory:vlan-id": 78 }

      ,
      "flow-node-inventory:vlan-pcp": 3
      },
      "flow-node-inventory:ethernet-match": {
      "flow-node-inventory:ethernet-destination":

      { "flow-node-inventory:address": "FF:FF:29:01:19:61" }

      ,
      "flow-node-inventory:ethernet-source":

      { "flow-node-inventory:address": "00:00:00:11:23:AE" }

      ,
      "flow-node-inventory:ethernet-type":

      { "flow-node-inventory:type": 2048 }

      }
      },
      "flow-node-inventory:flags": "SEND_FLOW_REM",
      "flow-node-inventory:priority": 2,
      "flow-node-inventory:instructions": {
      "flow-node-inventory:instruction": [
      {
      "flow-node-inventory:apply-actions": {
      "flow-node-inventory:action": [
      {
      "flow-node-inventory:order": 0,
      "flow-node-inventory:set-field": {
      "flow-node-inventory:vlan-match": {
      "flow-node-inventory:vlan-id":

      { "flow-node-inventory:vlan-id": 79 }

      }
      }
      },
      {
      "flow-node-inventory:order": 1,
      "flow-node-inventory:output-action":

      { "flow-node-inventory:output-node-connector": "1", "flow-node-inventory:max-length": 0 }

      }
      ]
      },
      "flow-node-inventory:order": 0
      }
      ]
      },
      "flow-node-inventory:idle-timeout": 300,
      "opendaylight-flow-statistics:flow-statistics": {
      "opendaylight-flow-statistics:duration":

      { "opendaylight-flow-statistics:second": 11, "opendaylight-flow-statistics:nanosecond": 725000000 }

      ,
      "opendaylight-flow-statistics:byte-count": 0,
      "opendaylight-flow-statistics:packet-count": 0
      },
      "flow-node-inventory:hard-timeout": 600,
      "flow-node-inventory:table_id": 0,
      "flow-node-inventory:id": "#UF$TABLE*0-1",
      "flow-node-inventory:cookie": 1
      }
      ],
      "flow-node-inventory:id": 0
      }
      ]
      }

      And I see "flow-node-inventory:id": "#UF$TABLE*0-1" and I get OSGi errors related to this too.

      BR/Luis

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: