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

Modified flow does not reconcile in configuration (show alien ID)

    XMLWordPrintable

Details

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

    • 6458

    Description

      This tracked here:

      https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-flow-services-only-boron/

      To reproduce:

      1) Add a flow to a switch:

      {
      "flow-node-inventory:flow": [
      {
      "id": "1",
      "priority": 2,
      "flow-name": "flow1",
      "table_id": 0,
      "idle-timeout": 0,
      "hard-timeout": 0,
      "instructions": {
      "instruction": [
      {
      "order": 0,
      "apply-actions": {
      "action": [
      {
      "order": 0,
      "output-action":

      { "output-node-connector": "1" }

      }
      ]
      }
      }
      ]
      },
      "match": {
      "ipv4-destination": "10.0.10.0/24",
      "ethernet-match": {
      "ethernet-type":

      { "type": 2048 }

      }
      }
      }
      ]
      }

      2) Check flow is in operational with id=1

      3) Modify flow (change IP match):

      {
      "flow-node-inventory:flow": [
      {
      "id": "1",
      "priority": 2,
      "flow-name": "flow1",
      "table_id": 0,
      "idle-timeout": 0,
      "hard-timeout": 0,
      "instructions": {
      "instruction": [
      {
      "order": 0,
      "apply-actions": {
      "action": [
      {
      "order": 0,
      "output-action":

      { "output-node-connector": "1" }

      }
      ]
      }
      }
      ]
      },
      "match": {
      "ipv4-destination": "10.0.20.0/24",
      "ethernet-match": {
      "ethernet-type":

      { "type": 2048 }

      }
      }
      }
      ]
      }

      4) Flow shows alien ID in operational.

      {
      "flow-node-inventory:table": [
      {
      "id": 0,
      "flow": [
      {
      "id": "#UF$TABLE*0-2",
      "opendaylight-flow-statistics:flow-statistics": {
      "packet-count": 0,
      "duration":

      { "nanosecond": 112000000, "second": 39 }

      ,
      "byte-count": 0
      },
      "priority": 2,
      "table_id": 0,
      "hard-timeout": 0,
      "match": {
      "ethernet-match": {
      "ethernet-type":

      { "type": 2048 }

      },
      "ipv4-destination": "10.0.20.0/24"
      },
      "cookie": 0,
      "flags": "",
      "instructions": {
      "instruction": [
      {
      "order": 0,
      "apply-actions": {
      "action": [
      {
      "order": 0,
      "output-action":

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

      }
      ]
      }
      }
      ]
      },
      "idle-timeout": 0
      }
      ],
      "opendaylight-flow-table-statistics:flow-table-statistics":

      { "packets-matched": 12594, "active-flows": 1, "packets-looked-up": 12855 }

      }
      ]
      }

      Attachments

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

        Activity

          People

            shuva.jyoti.kar.87@gmail.com Shuva Jyoti Kar
            ecelgp Luis Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: