Misc cleanup, renaming

This commit is contained in:
Jeremy Stretch
2020-06-23 16:39:43 -04:00
parent 459e485555
commit e3820e93b7
18 changed files with 82 additions and 92 deletions

View File

@@ -475,6 +475,10 @@ class VMInterface(BaseInterface):
object_data=serialize_object(self)
)
@property
def parent(self):
return self.virtual_machine
@property
def count_ipaddresses(self):
return self.ip_addresses.count()