Commit 84d42bca by Dudás Ádám

vm: make running_instances into property

parent 6a54d7e1
......@@ -133,6 +133,7 @@ class InstanceTemplate(AclBase, VirtualMachineDescModel, TimeStampedModel):
def __unicode__(self):
def running_instances(self):
"""Returns the number of running instances of the template.
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