1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added views for VM interfaces

This commit is contained in:
Jeremy Stretch
2017-08-18 14:37:19 -04:00
parent a7c56eab86
commit e81e33af38
8 changed files with 279 additions and 37 deletions

View File

@@ -225,6 +225,7 @@ class VMInterface(models.Model):
class Meta:
ordering = ['virtual_machine', 'name']
unique_together = ['virtual_machine', 'name']
verbose_name = 'VM interface'
def __str__(self):
return self.name