Revision 0fb66bb1 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
869 | 869 |
("reserved_lvs", None, ht.TMaybeListOf(ht.TNonEmptyString), |
870 | 870 |
"List of reserved LVs"), |
871 | 871 |
("hidden_os", None, _TestClusterOsList, |
872 |
"Modify list of hidden operating systems. Each modification must have"
|
|
873 |
" two items, the operation and the OS name. The operation can be"
|
|
874 |
" ``%s`` or ``%s``." % (constants.DDM_ADD, constants.DDM_REMOVE)),
|
|
872 |
"Modify list of hidden operating systems: each modification must have"
|
|
873 |
" two items, the operation and the OS name; the operation can be"
|
|
874 |
" ``%s`` or ``%s``" % (constants.DDM_ADD, constants.DDM_REMOVE)), |
|
875 | 875 |
("blacklisted_os", None, _TestClusterOsList, |
876 |
"Modify list of blacklisted operating systems. Each modification must have"
|
|
877 |
" two items, the operation and the OS name. The operation can be"
|
|
878 |
" ``%s`` or ``%s``." % (constants.DDM_ADD, constants.DDM_REMOVE)),
|
|
876 |
"Modify list of blacklisted operating systems: each modification must"
|
|
877 |
" have two items, the operation and the OS name; the operation can be"
|
|
878 |
" ``%s`` or ``%s``" % (constants.DDM_ADD, constants.DDM_REMOVE)), |
|
879 | 879 |
("use_external_mip_script", None, ht.TMaybeBool, |
880 | 880 |
"Whether to use an external master IP address setup script"), |
881 | 881 |
] |
... | ... | |
1500 | 1500 |
_PForceVariant, |
1501 | 1501 |
_PIgnoreIpolicy, |
1502 | 1502 |
("nics", ht.EmptyList, TestNicModifications, |
1503 |
"List of NIC changes. Each item is of the form ``(op, index, settings)``."
|
|
1504 |
" ``op`` is one of ``%s``, ``%s`` or ``%s``. ``index`` can be either -1 to"
|
|
1505 |
" refer to the last position, or a zero-based index number. A deprecated"
|
|
1506 |
" version of this parameter used the form ``(op, settings)``, where "
|
|
1507 |
" ``op`` can be ``%s`` to add a new NIC with the specified settings,"
|
|
1508 |
" ``%s`` to remove the last NIC or a number to modify the settings"
|
|
1509 |
" of the NIC with that index." %
|
|
1503 |
"List of NIC changes: each item is of the form ``(op, index, settings)``,"
|
|
1504 |
" ``op`` is one of ``%s``, ``%s`` or ``%s``, ``index`` can be either -1"
|
|
1505 |
" to refer to the last position, or a zero-based index number; a"
|
|
1506 |
" deprecated version of this parameter used the form ``(op, settings)``,"
|
|
1507 |
" where ``op`` can be ``%s`` to add a new NIC with the specified"
|
|
1508 |
" settings, ``%s`` to remove the last NIC or a number to modify the"
|
|
1509 |
" settings of the NIC with that index" %
|
|
1510 | 1510 |
(constants.DDM_ADD, constants.DDM_MODIFY, constants.DDM_REMOVE, |
1511 | 1511 |
constants.DDM_ADD, constants.DDM_REMOVE)), |
1512 | 1512 |
("disks", ht.EmptyList, TestDiskModifications, |
1513 |
"List of disk changes. See ``nics``."),
|
|
1513 |
"List of disk changes; see ``nics``"),
|
|
1514 | 1514 |
("beparams", ht.EmptyDict, ht.TDict, "Per-instance backend parameters"), |
1515 | 1515 |
("runtime_mem", None, ht.TMaybeStrictPositiveInt, "New runtime memory"), |
1516 | 1516 |
("hvparams", ht.EmptyDict, ht.TDict, |
... | ... | |
1520 | 1520 |
("remote_node", None, ht.TMaybeString, |
1521 | 1521 |
"Secondary node (used when changing disk template)"), |
1522 | 1522 |
("os_name", None, ht.TMaybeString, |
1523 |
"Change instance's OS name. Does not reinstall the instance."),
|
|
1523 |
"Change the instance's OS without reinstalling the instance"),
|
|
1524 | 1524 |
("osparams", None, ht.TMaybeDict, "Per-instance OS parameters"), |
1525 | 1525 |
("wait_for_sync", True, ht.TBool, |
1526 | 1526 |
"Whether to wait for the disk to synchronize, when changing template"), |
Also available in: Unified diff