Adjust LUInstanceSetParams wrt the `ext' template
authorConstantinos Venetsanopoulos <cven@grnet.gr>
Fri, 7 Sep 2012 10:02:27 +0000 (13:02 +0300)
committerIustin Pop <iustin@google.com>
Thu, 20 Dec 2012 15:06:03 +0000 (16:06 +0100)
commitaa6c1bb15089a2dbcc70ee5568eb60992c312e92
tree7cd4ae509abfb52b2bab6c4338b80714f2e0e505
parent938adc87ae8ba2a306073637b7764e0d6165c587
Adjust LUInstanceSetParams wrt the `ext' template

Initial support for the `ext' template in gnt-instance modify.
Take care of all needed checks in CheckArguments and CheckPrereqs
wrt ExtStorage Providers and ext-params.

ExtStorage disk addition and specification of arbitrary ext-params
during addition is supported.

Currently, one cannot modify an existing disk's ExtStorage Provider,
neither can change an existing disk's ext-params. Only an existing
disk's `mode' can be modified.

Removal is transparent of the disk template and is also supported.

Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
Signed-off-by: Iustin Pop <iustin@google.com>
[iustin@google.com: fix bug in disk changes, pylint fixes]
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py