On 2006-05-20T16:52:51, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
> >Prop 1: I set up a "meta" hashtable and populate it with
> >meta_attributes (and for backwards compatibility copy in any unset
> >attributes from the regular hashtable).
> >
> >From then on i just look up the name at the meta hashtable.
>
> "and add the crm-meta- prefix at the end"
>
> i think thats the bit we diverged on (because i didnt say it).
>
> so the admin would still configure <nvpair name=X value=Y/>
>
> end the code would still look for X
>
> the only change is that when we're creating the list of parameters to
> pass to the lrm, we prefix them with "crm-meta-"... so X comes out as
> crm-meta-X (and if you configured it in the old way, as X too for
> backwards compatibility)
Ah, I see.
Well, that makes more sense.
So, as soon as a meta-section is seen, the "automatic" population of it
from the regular name-space is turned off for that resource?
Makes sense, yes. I think now I get what you say.
Though still, how would the RA inform the tools about description &
defaults for this? And the tools like the mgmtd/GUI would still need to
be modified to set these options in a whole different section.
I'd still go with simply prefixing them everywhere.
Sincerely,
Lars Marowsky-Brée
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/