Support reseting arbitrary params of ext disks
authorDimitris Aragiorgis <dimara@grnet.gr>
Tue, 10 Dec 2013 09:14:54 +0000 (11:14 +0200)
committerMichele Tartara <mtartara@google.com>
Wed, 11 Dec 2013 11:27:53 +0000 (12:27 +0100)
commite228ab9c2f3f41063db20f59132306a4b4812d6b
tree133f3c1859ec95dc56d9717970bcd4ae1252632b
parentc5c72215c0c580c488a8dc8fe22b96fcf5d09438
Support reseting arbitrary params of ext disks

If param=default and the param already exists then we remove
it from params dict. This is stolen by GetUpdatedParams() which
is used for hvparams modification/inheritance.

This means that 'default' value is not accepted for an arbitrary
param of an ext disk.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/cmdlib/instance.py