Nope - pretty sure Yair tried this and the type in the delete is ignored, the 
type used is the one written for the group in the datastore (the one that was 
installed, in this case indirect).

--alon

From: Shuva Jyoti Kar [mailto:[email protected]]
Sent: Tuesday, 30 August 2016 12:10
To: Kochba, Alon <[email protected]>; Zinger, Yair <[email protected]>; 
[email protected]
Cc: Aizer, Koby <[email protected]>
Subject: RE: Removal of group table with type indirect

Hi Alon,

Does specifying the group-type help in deletion for all the groups - indirect, 
ff, repl, all ?

Thanks
Shuva


From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of 
Kochba, Alon
Sent: Tuesday, August 30, 2016 2:29 PM
To: Zinger, Yair; 
[email protected]<mailto:[email protected]>
Cc: Aizer, Koby
Subject: Re: [openflowplugin-dev] Removal of group table with type indirect

Hi,

Bumping this issue, waiting for response.
Note the thread in [1].

Short summary - groups of types other than "all" can't be deleted currently 
(using OVS 2.5 release and under).
The type should be ignored, but OVS is returning and error when indirect is 
used.

Can we push a fix to openflowplugin to always use "all" for deletes (it doesn't 
matter anyways according to spec), or should we do a workaround for Boron to 
use an "all" group in netvirt with one bucket instead of "indirect"?
Do other projects use groups at all?

[1] https://bugs.opendaylight.org/show_bug.cgi?id=6492

--alon

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of 
Zinger, Yair
Sent: Wednesday, 17 August 2016 15:15
To: 
[email protected]<mailto:[email protected]>
Subject: [openflowplugin-dev] Removal of group table with type indirect

Hi,
I've added code that create and remove group tables in the Netvirt project 
(https://git.opendaylight.org/gerrit/#/c/43925/).
The group I'm using is of type indirect.
When I try to remove the group I get a GROUPMODFAILED error because of 
INVALIDGROUP from the OVS.

I noticed that in the OFPGC_DELETE request it use the type indirect (that the 
group was created with) instead of the type "all" that I'm explicitly set in 
the group removal (also used indirection when I tried to set a null type).
The OVS always send back the above error with type indirect.

I think this might be a bug and the removal of a group should be without a type.
Should I open a bug on this issue?

Thank you,
Yair Zinger
Software Engineer
Hewlett Packard Enterprise
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to