hi,
Maybe there is another way: let -e and -a be there and keep their original
meaning, but add a new option to merge -a and -e, for example -U(update).
Just a 2 cent suggestion:-)
linuxman
---------
Linux is all my life!
----- Original Message -----
From: "Horms" <horms@xxxxxxxxxxxx>
To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, May 13, 2001 3:33 AM
Subject: Re: Changing server weights
> On Sat, May 12, 2001 at 06:47:50AM -0400, Joseph Mack wrote:
> > On Sat, 12 May 2001, Wensong Zhang wrote:
> >
> > > I don't think that we need change this. Let us keep it simple,
> >
> >
> > that's why I want the change. In a script, if I want to set the weight of
> > a connection to 'int', at the moment I need to know whether the weight is
> > already set. If it is set, I have to first delete it and then re-add it
> > (or else edit it). If it isn't set, I add it. But no matter what I do, I
> > have to first run commands and trap errors. People get alarmed if the
> > output of a script says "you may get an error here and then you may not,
> > we don't know, but you can ignore it (if it happens)".
>
> My intial reaction to this was the same as Wensong's, but on thinking
> about it more I think Joe makes a lot of sense. I've sent Joe and
> Wensong a patch that merges the behaviour of add and edit. I'll leave
> it to Wensong to decide to include it or not.
>
> --
> Horms
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|