Commit ea943848 by Dudás Ádám

vm: 'destroyed' property for network Interfaces

parent 24918d58
......@@ -57,6 +57,10 @@ class Interface(Model):
return 'cloud-' + str(self.instance.id) + '-' + str(self.vlan.vid)
@property
def destroyed(self):
return self.instance.destroyed
@property
def mac(self):
try:
return self.host.mac
......
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