Hi Sam,

The intention of allocating funny ids dates back in the old plugin model. 
However we used it there to signify flows that are present in switch but not in 
config DS.

Are you seeing the funny ids for flows that are only in the switch? Or present 
in both controller and switch?

Thanks
Shuva

On Thu, Jun 30, 2016 at 4:00 AM, Sam Hague 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,

after the switch to the -li plugin something strange is happening with the flow 
ids on certain flows. Looking at the flow below first from config and then 
operational you see a funny id in operational rather than the nice id used in 
config.

Some flows are consistent between config and operational and others have this 
issue. The only thing I can see is that these funny ones are sometimes written 
to mdsal config twice.

Thanks, Sam

config:
{
          "id": "DropFilter_1",
          "hard-timeout": 0,
          "idle-timeout": 0,
          "match": {
            "in-port": "openflow:140794795157368:1"
          },
          "instructions": {
            "instruction": [
              {
                "order": 0,
                "apply-actions": {
                  "action": [
                    {
                      "order": 0,
                      "drop-action": {}
                    }
                  ]
                }
              }
            ]
          },
          "barrier": false,
          "strict": true,
          "priority": 8192,
          "table_id": 0,
          "flow-name": "DropFilter_1"
        }

operational:
{
          "id": "#UF$TABLE*0-3",
          "hard-timeout": 0,
          "idle-timeout": 0,
          "match": {
            "in-port": "openflow:140794795157368:1"
          },
          "cookie": 0,
          "flags": "",
          "priority": 8192,
          "opendaylight-flow-statistics:flow-statistics": {
            "packet-count": 0,
            "byte-count": 0,
            "duration": {
              "nanosecond": 558000000,
              "second": 344
            }
          },
          "table_id": 0
        },
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to