Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d4c7fdc3
authored
Oct 15, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: review migrate form texts
closes #341
parent
b2860e87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
circle/dashboard/forms.py
+6
-1
circle/vm/operations.py
+2
-2
No files found.
circle/dashboard/forms.py
View file @
d4c7fdc3
...
...
@@ -753,7 +753,12 @@ class VmRenewForm(OperationForm):
class
VmMigrateForm
(
forms
.
Form
):
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
):
choices
=
kwargs
.
pop
(
'choices'
)
...
...
circle/vm/operations.py
View file @
d4c7fdc3
...
...
@@ -466,8 +466,8 @@ class DestroyOperation(InstanceOperation):
class
MigrateOperation
(
RemoteInstanceOperation
):
id
=
'migrate'
name
=
_
(
"migrate"
)
description
=
_
(
"Move
virtual machine to an other worker node with a few
"
"
seconds of interruption (live migration)
."
)
description
=
_
(
"Move
a running virtual machine to an other worker node
"
"
keeping its full state
."
)
required_perms
=
()
superuser_required
=
True
accept_states
=
(
'RUNNING'
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment