On Tue, Jan 12, 2010 at 01:10:09PM +0100, Michael Hanselmann wrote:
> 2010/1/12 Iustin Pop <[email protected]>:
> > Cool. Now how to actually provide a nice CLI interface for modifying a
> > new VTYPE_LBS (list of boolean string) is another thing…
> 
> If we could use the first character of the value instead of a separate
> boolean (e.g. ["flagA=value", "-flagB"], where we add "flagA=value"
> and remove "flagB"), the CLI might be simpler.

Well, the problem is that right now we don't modify parameters, we
always overwrite them. As such, the framework for 'modify this parameter
in this way' is not there and I wouldn't want to add it just for this
single param.

The current patch I'm working on relies on always overwriting the
parameter value (i.e. you do gnt-instance show, take the parameter and
modify what you need, and then add update it via gnt-instance modify).

iustin

Reply via email to