"""Deactivate an instance's disks."""
OP_DSC_FIELD = "instance_name"
OP_PARAMS = [
- _PInstanceName
+ _PInstanceName,
+ _PForce,
]
OP_PARAMS = [
_PInstanceName,
("disks", ht.EmptyList, ht.TListOf(ht.TPositiveInt)),
+ ("nodes", ht.EmptyList, ht.TListOf(ht.TNonEmptyString)),
]
OP_PARAMS = [
("instances", ht.EmptyList, ht.TListOf(ht.TNonEmptyString)),
("static", False, ht.TBool),
+ ("use_locking", False, ht.TBool),
]
("os_name", None, ht.TMaybeString),
("force_variant", False, ht.TBool),
("osparams", None, ht.TMaybeDict),
+ ("wait_for_sync", True, ht.TBool),
]