Hi, On Tue, May 03, 2011 at 11:07:45PM +0930, Darren Thompson wrote: > 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.
If the parameter is required (mandatory) under which circumstances can the default be used? If you want to let the user _not_ specify a parameter and use the default, then the parameter is optional. I really don't understand why all the confusion. Thanks, Dejan > Darren > > > On Mon, 2011-05-02 at 12:00 -0600, > [email protected] wrote: > > > Date: Sun, 1 May 2011 20:49:41 +0200 > > From: Lars Marowsky-Bree <[email protected]> > > Subject: Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux > > Containers) > > To: High-Availability Linux Development List > > <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=iso-8859-1 > > > > On 2011-04-26T16:03:48, Dejan Muhamedagic <[email protected]> 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 > > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
