CPqD / ofsoftswitch13

OpenFlow 1.3 switch.
http://cpqd.github.com/ofsoftswitch13
299 stars 191 forks source link

Unable to delete group based on ID #117

Open casp3r opened 10 years ago

casp3r commented 10 years ago

Hey,

Using OpenDaylight to add the group following https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Groups

When i try to delete the group change from PUT to Delete. It's deleted in OpenDaylight.
Can see the group_mod with the command OFPGC_DELETE (2),

But checking CPqD i still see the group.

Can manually delete via the command " dpctl unix:/tmp/s1 group-mod cmd=del,type=all,group='140'"

But when looking at the socket i notice there no different between sending the above command or 'dpctl unix:/tmp/s1 group-mod cmd=del'

Both look like. 2014/07/29 13:41:40.752002 length=8 from=8 to=15 04 15 00 08 f0 ff 00 f0

Thanks Chris

ederlf commented 10 years ago

Hi,

The message from OpenDaylight is reaching the switch? The group_mod should appear on the switch logs (Executing the switch with the verbose option). Which message are you seeing, after sending the group_mod?

casp3r commented 10 years ago

Yes the OpenFlow message reach the switch as i see the Error message sent back from CPqD https://dl.dropboxusercontent.com/u/6385611/groups.pcap here is a pcap file. packet 70 = group_mod and 72 = Error sent back. Group_mod_Failed Code=Invalid_group.

I was running it via mininet, but i try this week to run it stand alone and enable the verbose.