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

Andrew Beekhof andrew at beekhof.net
Tue Jul 5 01:39:08 UTC 2011


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"




More information about the Pacemaker mailing list