Wojtek,
I like that idea but it means enhance API, because currently we have no
support for this feature. Maybe we can add callback (something like
cpg_listen to register (instead of cpg_join) and then
MESSAGE_RES_CPG_LISTEN_CALLBACK in dispatch) or make a "special group"
(named like 0x0 with lenght 0, or "service", ...) where you will get all
informations even if message is not directed for given group.

Regards,
  Honza

Wojtek Meler wrote:
> Jan Friesse pisze:
>> Included is source code of initial version of cpgtool. This tool
>> should be able to interact with cpg. For now, only displaying of cpg
>> members is supported. In case you have any idea what to add/how to
>> make output better/..., please let me know. My idea is to add
>> something like watch, what will be able to watch actions on cpg group
>> (so very stripped down test/cpgtest), but I'm not sure if this is not
>> just duplication of existing feature.
>>
>> Regards,
>>   Honza
> It is not duplication because nothing from test/ is installed in target
> system. Maybe cpgtest should be renamed and placed in tools ;) ?
> I think that it would be great to have tool which would allow to capture
> cpg messages (something like tcpdump).
> cpgtest allow to join to one group only, so it can't receive all
> messages in cluster. Maybe some filtering would be usable - like
> 'show only messages from node X'.
> 
> Regards,
> Wojtek

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to