On Tue, 2009-08-18 at 11:26 -0500, David Teigland wrote: > On Tue, Aug 18, 2009 at 06:09:38PM +0200, Jan Friesse wrote: > > This feature should allow app to get cpg groups and members. It's > > modeled like ckpt section iteration, so: > > Thanks! I've been waiting a long time for this (the same is needed for various > other things in corosync+openais). I hope you'll also add a command line tool
Please let us know where you think we can do additional information reporting. We have a feature list for diags and we can add your comments there. > that uses this API to report all cpgs and their members. You may also want to > add an API to query state/status/info about a particular cpg (querying the > members is the most important, but eventually we'll probably want more info > about each cpg.) > > I'm not fond of the iteration-style API, although it may have some advantages > in theory. When writing these API's I generally do something like this (see > libdlmcontrol for a specific example): > The corosync APIs should follow a consistent style of using iterators. Regards -steve _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
