Revision aa922d64 lib/client/gnt_instance.py
b/lib/client/gnt_instance.py | ||
---|---|---|
630 | 630 |
return opcodes.OpInstanceReboot(instance_name=name, |
631 | 631 |
reboot_type=opts.reboot_type, |
632 | 632 |
ignore_secondaries=opts.ignore_secondaries, |
633 |
shutdown_timeout=opts.shutdown_timeout, |
|
634 |
reason=(constants.INSTANCE_REASON_SOURCE_CLI, |
|
635 |
opts.reason)) |
|
633 |
shutdown_timeout=opts.shutdown_timeout) |
|
636 | 634 |
|
637 | 635 |
|
638 | 636 |
def _ShutdownInstance(name, opts): |
... | ... | |
1559 | 1557 |
[m_force_multi, REBOOT_TYPE_OPT, IGNORE_SECONDARIES_OPT, m_node_opt, |
1560 | 1558 |
m_pri_node_opt, m_sec_node_opt, m_clust_opt, m_inst_opt, SUBMIT_OPT, |
1561 | 1559 |
m_node_tags_opt, m_pri_node_tags_opt, m_sec_node_tags_opt, |
1562 |
m_inst_tags_opt, SHUTDOWN_TIMEOUT_OPT, DRY_RUN_OPT, PRIORITY_OPT, |
|
1563 |
REASON_OPT], |
|
1560 |
m_inst_tags_opt, SHUTDOWN_TIMEOUT_OPT, DRY_RUN_OPT, PRIORITY_OPT], |
|
1564 | 1561 |
"<instance>", "Reboots an instance"), |
1565 | 1562 |
"activate-disks": ( |
1566 | 1563 |
ActivateDisks, ARGS_ONE_INSTANCE, |
Also available in: Unified diff