Revision 3ff5bdfa
ID | 3ff5bdfa26eb8c98fab7c213e7087ab929027221 |
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 <cven@grnet.gr>
Conflicts:
lib/cmdlib.py
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted