Commit 17a73b8c by Czémán Arnold

attribute fix

parent 682fa2b9
......@@ -56,6 +56,7 @@ class Compute(Resource):
""" Sets the attributes of the Compute object based on the VM
instance. """
attributes = {}
attributes["occi.core.title"] = self.vm.name
attributes["occi.compute.architecture"] = (
COMPUTE_ARCHITECTURES.get(self.vm.arch))
attributes["occi.compute.cores"] = self.vm.num_cores
......
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