[OPNFLWPLUG-576] He plugin: Groups/Flows are not pushed in right order Created: 28/Nov/15  Updated: 27/Sep/21  Resolved: 04/Oct/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Luis Gomez Assignee: Luis Gomez
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: File group-push-order.pcapng    
External issue ID: 4687

 Description   

I have this controller configuration for flows and groups:

{
"nodes": {
"node": [
{
"id": "openflow:18086816811242734057",
"flow-node-inventory:group": [
{
"group-id": 13,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:C1:E9" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
}
},
{
"order": 3,
"output-action":

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

}
],
"weight": 1
},
{
"bucket-id": 1,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:C1:E9" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
}
},
{
"order": 3,
"output-action":

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

}
],
"weight": 1
}
]
},
"group-name": "ecmp",
"group-type": "group-select"
},
{
"group-id": 10,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:C1:E9" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "00:25:90:E1:74:fA" }

}
}
},
{
"order": 3,
"output-action":

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

}
]
}
]
},
"group-name": "indirect",
"group-type": "group-indirect"
}
],
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "41030",
"flow-name": "flow-ipv4-1030",
"table_id": 0,
"match": {
"ipv4-destination": "100.30.0.0/16",
"ipv4-source": "100.10.0.0/16",
"in-port": "openflow:18086816811242734057:48",
"ethernet-match": {
"ethernet-source":

{ "address": "00:25:90:E1:74:fA" }

,
"ethernet-type":

{ "type": 2048 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 13 }

}
]
}
}
]
}
},
{
"id": "63010",
"flow-name": "flow-ipv6-3010",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:E1:5B" }

,
"ethernet-type":

{ "type": 34525 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 10 }

}
]
}
}
]
}
},
{
"id": "43010",
"flow-name": "flow-ipv4-3010",
"table_id": 0,
"match": {
"ipv4-destination": "100.10.0.0/16",
"ipv4-source": "100.30.0.0/16",
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:E1:5B" }

,
"ethernet-type":

{ "type": 2048 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 10 }

}
]
}
}
]
}
},
{
"id": "61030",
"flow-name": "flow-ipv6-1030",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"in-port": "openflow:18086816811242734057:48",
"ethernet-match": {
"ethernet-source":

{ "address": "00:25:90:E1:74:fA" }

,
"ethernet-type":

{ "type": 34525 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 13 }

}
]
}
}
]
}
}
]
}
]
},
{
"id": "openflow:18087942711149584731",
"flow-node-inventory:group": [
{
"group-id": 30,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:E1:5B" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "00:25:90:E1:74:F8" }

}
}
},
{
"order": 3,
"output-action":

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

}
]
}
]
},
"group-name": "indirect",
"group-type": "group-indirect"
},
{
"group-id": 31,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:E1:5B" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
}
},
{
"order": 3,
"output-action":

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

}
],
"weight": 1
},
{
"bucket-id": 1,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:E1:5B" }

}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":

{ "vlan-id": 1, "vlan-id-present": true }

}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":

{ "address": "48:0F:CF:AF:C1:E9" }

}
}
},
{
"order": 3,
"output-action":

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

}
],
"weight": 1
}
]
},
"group-name": "ecmp",
"group-type": "group-select"
}
],
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "41030",
"flow-name": "flow-ipv4-1030",
"table_id": 0,
"match": {
"ipv4-destination": "100.30.0.0/16",
"ipv4-source": "100.10.0.0/16",
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:C1:E9" }

,
"ethernet-type":

{ "type": 2048 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 30 }

}
]
}
}
]
}
},
{
"id": "63010",
"flow-name": "flow-ipv6-3010",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"in-port": "openflow:18087942711149584731:48",
"ethernet-match": {
"ethernet-source":

{ "address": "00:25:90:E1:74:F8" }

,
"ethernet-type":

{ "type": 34525 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 31 }

}
]
}
}
]
}
},
{
"id": "43010",
"flow-name": "flow-ipv4-3010",
"table_id": 0,
"match": {
"ipv4-destination": "100.10.0.0/16",
"ipv4-source": "100.30.0.0/16",
"in-port": "openflow:18087942711149584731:48",
"ethernet-match": {
"ethernet-source":

{ "address": "00:25:90:E1:74:F8" }

,
"ethernet-type":

{ "type": 2048 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 31 }

}
]
}
}
]
}
},
{
"id": "61030",
"flow-name": "flow-ipv6-1030",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ethernet-match": {
"ethernet-source":

{ "address": "48:0F:CF:AF:C1:E9" }

,
"ethernet-type":

{ "type": 34525 }

,
"ethernet-destination":

{ "address": "48:0F:CF:AF:E1:5B" }

}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":

{ "group-id": 30 }

}
]
}
}
...



 Comments   
Comment by Luis Gomez [ 28/Nov/15 ]

Attachment group-push-order.pcapng has been added with description: packet capture

Comment by Luis Gomez [ 28/Nov/15 ]

This happens with latest master and stable/lithium.

Comment by Abhijit Kumbhare [ 25/Jan/16 ]

As per Luis - this does not happen with the Lithium design.

Comment by Abhijit Kumbhare [ 30/Jan/16 ]

Fixed in Lithium design.

Comment by Andrej Leitner [ 03/Oct/16 ]

Decreasing priority since no activity for more than 8 months.

Luis, do you think we still need to fix this even though helium design is not the default design already in Boron (and lithium design is ok, bug related to stable/lithium/beryllium era)?

Comment by Luis Gomez [ 03/Oct/16 ]

I do not think so, this was one of the reasons to move to li plugin.

Generated at Wed Feb 07 20:32:50 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.