Commit 73e5a4f4 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a typo in backend.InstanceReboot docstring



The documentation for the reboot was wrong. This patch fixes it and
updates the docstring with more details.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent c1ce76bb
......@@ -958,9 +958,10 @@ def InstanceReboot(instance, reboot_type):
instance OS, do not recreate the VM
- L{constants.INSTANCE_REBOOT_HARD}: tear down and
restart the VM (at the hypervisor level)
- the other reboot type (L{constants.INSTANCE_REBOOT_HARD})
is not accepted here, since that mode is handled
differently
- the other reboot type (L{constants.INSTANCE_REBOOT_FULL}) is
not accepted here, since that mode is handled differently, in
cmdlib, and translates into full stop and start of the
instance (instead of a call_instance_reboot RPC)
@rtype: boolean
@return: the success of the operation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment