« Previous | Next » 

Revision 09ec4848

ID09ec48486d0fe9bd41521d753a1a31db7463fef3

Added by Constantinos Venetsanopoulos over 11 years ago

Add --allow-arbit-params to 'gnt-instance modify'

The option is added to allow us the passing of arbitrary ext-params
during disk addition (gnt-instance modify --disk add: ...), same as
we do during instance add.

The option is needed because during gnt-instance modify parameters'
validation, we do not know the type of the disk template
(whereas in gnt-instance add we find it from the -t option).

The option is called 'arbit' and not 'ext' params because it may be
useful in other contexts too, in the future.

The corresponding prereq checks for the existence of the 'provider'
parameter in case of an 'ext' template are also taken care off in
this commit. It serves as a general introduction of the 'ext'
template in gnt-instance modify.

Signed-off-by: Constantinos Venetsanopoulos <>

Conflicts:

lib/cmdlib.py

Signed-off-by: Constantinos Venetsanopoulos <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences