Commit d4c7fdc3 by Őry Máté

dashboard: review migrate form texts

closes #341
parent b2860e87
...@@ -753,7 +753,12 @@ class VmRenewForm(OperationForm): ...@@ -753,7 +753,12 @@ class VmRenewForm(OperationForm):
class VmMigrateForm(forms.Form): class VmMigrateForm(forms.Form):
live_migration = forms.BooleanField( live_migration = forms.BooleanField(
required=False, initial=True, label=_("live migration")) required=False, initial=True, label=_("Live migration"),
help_text=_(
"Live migration is a way of moving virtual machines between "
"hosts with a service interruption of at most some seconds. "
"Please note that it can take very long and cause "
"much network traffic in case of busy machines."))
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
choices = kwargs.pop('choices') choices = kwargs.pop('choices')
......
...@@ -466,8 +466,8 @@ class DestroyOperation(InstanceOperation): ...@@ -466,8 +466,8 @@ class DestroyOperation(InstanceOperation):
class MigrateOperation(RemoteInstanceOperation): class MigrateOperation(RemoteInstanceOperation):
id = 'migrate' id = 'migrate'
name = _("migrate") name = _("migrate")
description = _("Move virtual machine to an other worker node with a few " description = _("Move a running virtual machine to an other worker node "
"seconds of interruption (live migration).") "keeping its full state.")
required_perms = () required_perms = ()
superuser_required = True superuser_required = True
accept_states = ('RUNNING', ) accept_states = ('RUNNING', )
......
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 sign in to comment