Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
20dd6ea5
authored
Sep 23, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: add Node.schedule_enabled
parent
23717a39
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
circle/vm/migrations/0028_auto__add_field_node_schedule_enabled.py
+0
-0
circle/vm/models/node.py
+5
-0
No files found.
circle/vm/migrations/0028_auto__add_field_node_schedule_enabled.py
0 → 100644
View file @
20dd6ea5
This diff is collapsed.
Click to expand it.
circle/vm/models/node.py
View file @
20dd6ea5
...
...
@@ -72,6 +72,11 @@ class Node(OperatedMixin, TimeStampedModel):
enabled
=
BooleanField
(
verbose_name
=
_
(
'enabled'
),
default
=
False
,
help_text
=
_
(
'Indicates whether the node can '
'be used for hosting.'
))
schedule_enabled
=
BooleanField
(
verbose_name
=
_
(
'schedule enabled'
),
default
=
False
,
help_text
=
_
(
'Indicates whether a vm can be '
'automatically scheduled to this '
'node.'
))
traits
=
ManyToManyField
(
Trait
,
blank
=
True
,
help_text
=
_
(
"Declared traits."
),
verbose_name
=
_
(
'traits'
))
...
...
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