Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
17a73b8c
authored
Nov 05, 2016
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attribute fix
parent
682fa2b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
circle/occi/occi_infrastructure.py
+1
-0
No files found.
circle/occi/occi_infrastructure.py
View file @
17a73b8c
...
@@ -56,6 +56,7 @@ class Compute(Resource):
...
@@ -56,6 +56,7 @@ class Compute(Resource):
""" Sets the attributes of the Compute object based on the VM
""" Sets the attributes of the Compute object based on the VM
instance. """
instance. """
attributes
=
{}
attributes
=
{}
attributes
[
"occi.core.title"
]
=
self
.
vm
.
name
attributes
[
"occi.compute.architecture"
]
=
(
attributes
[
"occi.compute.architecture"
]
=
(
COMPUTE_ARCHITECTURES
.
get
(
self
.
vm
.
arch
))
COMPUTE_ARCHITECTURES
.
get
(
self
.
vm
.
arch
))
attributes
[
"occi.compute.cores"
]
=
self
.
vm
.
num_cores
attributes
[
"occi.compute.cores"
]
=
self
.
vm
.
num_cores
...
...
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