
darrent at akurit
May 3, 2011, 6:37 AM
Views: 175
Permalink
|
|
Re: [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 1
|
|
Lars/Team I agree. I can understand that there are some parameters that are MANDATORY and UNPREDICTABLE, but there are just as likely to be parameters that are MANDATORY and have a REASONABLE DEFAULT VALUE. As an example, the IP address is Mandatory and Unpredictable, but the path too and name of a configuration file (although still Mandatory) could have a Reasonable Default Value (although there may still be merit in allowing it to be overridden to provide localisations etc). I think it's too extreme to force all mandatory value to not be given default values, as (for example this particular case), there are a few mandatory values that do have reasonable defaults that could be used, in most cases. Darren On Mon, 2011-05-02 at 12:00 -0600, linux-ha-dev-request [at] lists wrote: > Date: Sun, 1 May 2011 20:49:41 +0200 > From: Lars Marowsky-Bree <lmb [at] novell> > Subject: Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > Containers) > To: High-Availability Linux Development List > <linux-ha-dev [at] lists> > Message-ID: <20110501184941.GR17955 [at] suse> > Content-Type: text/plain; charset=iso-8859-1 > > On 2011-04-26T16:03:48, Dejan Muhamedagic <dejan [at] suse> wrote: > > > - the "required" attributes in meta-data need to be reviewed, > > a parameter is either required or has a default, cannot be > > both > > Why would this be the case? > > > Regards, > Lars >
|