On May 20, 2006, at 3:01 PM, Lars Marowsky-Bree wrote:
well i dont think the lrm would support a whole new namespace, so i was settling for a sub-namespace. eg. OCF_RESKEY_crm-meta- otherwise though i think we're talking about the same thing
i think you mean turn off... because we'd have to default to on for backwards compatibility
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. Prop 2: every time i need to look up X i need to look for crm-meta-X and if thats not set, then fall back to X. Prop 1 involves less lookups, less stuffing around with string manipulations and lets the PE do pick up a bunch more things automatically (like the notify field which triggered all this).
in (my implementation of) prop 1, there'd be no switch... they'd just start using meta_attributes sets.
but arent we talking about options that are for the PE not the RA? clone instance, notify, colocated... those things arent RA parameters so why would they need to change/be added in the RA's metadata?
apologies for coming across as terse, that was not my intent. "short and to the point because its saturday" yes, but not "terse". i even used smiley faces :) -- Andrew Beekhof "Would the last person to leave please turn out the enlightenment?" - TISM |
_______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/