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
a6bd2dd0
authored
Mar 09, 2014
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: remove out-of-date descriptions
parent
9ca19599
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
circle/vm/models/instance.py
+0
-26
No files found.
circle/vm/models/instance.py
View file @
a6bd2dd0
...
@@ -102,18 +102,6 @@ class VirtualMachineDescModel(BaseResourceConfigModel):
...
@@ -102,18 +102,6 @@ class VirtualMachineDescModel(BaseResourceConfigModel):
class
InstanceTemplate
(
AclBase
,
VirtualMachineDescModel
,
TimeStampedModel
):
class
InstanceTemplate
(
AclBase
,
VirtualMachineDescModel
,
TimeStampedModel
):
"""Virtual machine template.
"""Virtual machine template.
Every template has:
* a name and a description
* an optional parent template
* state of the template
* an OS name/description
* a method of access to the system
* default values of base resource configuration
* list of attached images
* set of interfaces
* lease times (suspension & deletion)
* time of creation and last modification
"""
"""
ACL_LEVELS
=
(
ACL_LEVELS
=
(
(
'user'
,
_
(
'user'
)),
# see all details
(
'user'
,
_
(
'user'
)),
# see all details
...
@@ -174,20 +162,6 @@ class InstanceTemplate(AclBase, VirtualMachineDescModel, TimeStampedModel):
...
@@ -174,20 +162,6 @@ class InstanceTemplate(AclBase, VirtualMachineDescModel, TimeStampedModel):
class
Instance
(
AclBase
,
VirtualMachineDescModel
,
TimeStampedModel
):
class
Instance
(
AclBase
,
VirtualMachineDescModel
,
TimeStampedModel
):
"""Virtual machine instance.
"""Virtual machine instance.
Every instance has:
* a name and a description
* an optional parent template
* associated share
* a generated password for login authentication
* time of deletion and time of suspension
* lease times (suspension & deletion)
* last boot timestamp
* host node
* current state (libvirt domain state)
* time of creation and last modification
* base resource configuration values
* owner and privilege information
"""
"""
ACL_LEVELS
=
(
ACL_LEVELS
=
(
(
'user'
,
_
(
'user'
)),
# see all details
(
'user'
,
_
(
'user'
)),
# see all details
...
...
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