Browse Source

Fixes #1605: Added clusters and virtual machines to object list for global search

Jeremy Stretch 7 years ago
parent
commit
047f22e110
1 changed files with 4 additions and 0 deletions
  1. 4 0
      netbox/netbox/forms.py

+ 4 - 0
netbox/netbox/forms.py

@@ -30,6 +30,10 @@ OBJ_TYPE_CHOICES = (
     ('Tenancy', (
         ('tenant', 'Tenants'),
     )),
+    ('Virtualization', (
+        ('cluster', 'Clusters'),
+        ('virtualmachine', 'Virtual machines'),
+    )),
 )