Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

Re: [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 1

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


darrent at akurit

May 3, 2011, 6:37 AM

Post #1 of 2 (174 views)
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
>


dejanmm at fastmail

May 3, 2011, 7:05 AM

Post #2 of 2 (187 views)
Permalink
Re: [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 1 [In reply to]

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,
> 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
> >

> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.