You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you send a FlowMod delete with cookie set but without any match fields, which is exactly the kind of match that mef_eline sends when removing EVCs, it was matching more entries since I messed up an order of an early return on this PR #25.
After some time, when the consistency check again, it'll remove the of_lldp, dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535 entry, since mef_eline under the hood will send a delete, which our matching function is incorrectly matching incorrectly and deleting entries that aren't supposed to (this was an issue of a wrong order of an early return in the code):
Issue
If you send a FlowMod delete with cookie set but without any match fields, which is exactly the kind of match that
mef_eline
sends when removing EVCs, it was matching more entries since I messed up an order of an early return on this PR #25.How to reproduce
Run mininet:
sudo mn -c && sudo mn --controller=remote,ip=127.0.0.1,port=6653 --switch=ovsk,protocols=OpenFlow13 --topo=linear,5
Start kytos, with
mef_eline
andof_lldp
, installed as well:kytosd -f -E
Double check the current existing installed flows:
mef_eline
with this payload:of_lldp
,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535
entry, sincemef_eline
under the hood will send a delete, which our matching function is incorrectly matching incorrectly and deleting entries that aren't supposed to (this was an issue of a wrong order of an early return in the code):The text was updated successfully, but these errors were encountered: