[Pacemaker] About updated attribute value output in the DC node

Yoshihiko SATO satoyoshi at intellilink.co.jp
Mon Jul 4 22:36:59 EDT 2011


Hi Andrew,

Thank you for advice.

>
> In this case I'd just append " $name=$value"
>
Sorry, I don't understand..
Your meaning is checking the attribute name and value that are null or not?


Regards,
Yoshihiko SATO

(2011/07/05 10:39), Andrew Beekhof wrote:
> On Mon, Jul 4, 2011 at 8:05 PM, Yoshihiko SATO
> <satoyoshi at intellilink.co.jp>  wrote:
>> Hi Andrew,
>>
>> Thanks for your comment.
>>
>> Do you mean that the output logic is branched by some conditions?
>
> Right
>
>> If my understanding is correct, What conditions should we judge?
>> "tag"(TYPE(reason)), "abort_text" or otherwise?
>>
>>   - TYPE(reason) == "nvpair"
>>        Is it all right judging as attribute update?
>
> Correct
>
>>   - abort_text == "Transient attribute: update"
>>        I am concerned about changing contents of strings.
>
> In this case I'd just append " $name=$value"
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>





More information about the Pacemaker mailing list