@@ -22,7 +22,7 @@ class ConsolePortIndex(SearchIndex):
22
22
('description' , 500 ),
23
23
('speed' , 2000 ),
24
24
)
25
- display_attrs = ('device' , 'label' , 'description' )
25
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
26
26
27
27
28
28
@register_search
@@ -34,7 +34,7 @@ class ConsoleServerPortIndex(SearchIndex):
34
34
('description' , 500 ),
35
35
('speed' , 2000 ),
36
36
)
37
- display_attrs = ('device' , 'label' , 'description' )
37
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
38
38
39
39
40
40
@register_search
@@ -48,7 +48,8 @@ class DeviceIndex(SearchIndex):
48
48
('comments' , 5000 ),
49
49
)
50
50
display_attrs = (
51
- 'site' , 'location' , 'rack' , 'device_type' , 'role' , 'tenant' , 'platform' , 'serial' , 'asset_tag' , 'description' ,
51
+ 'site' , 'location' , 'rack' , 'status' , 'device_type' , 'role' , 'tenant' , 'platform' , 'serial' , 'asset_tag' ,
52
+ 'description' ,
52
53
)
53
54
54
55
@@ -94,7 +95,7 @@ class FrontPortIndex(SearchIndex):
94
95
('label' , 200 ),
95
96
('description' , 500 ),
96
97
)
97
- display_attrs = ('device' , 'label' , 'description' )
98
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
98
99
99
100
100
101
@register_search
@@ -109,7 +110,7 @@ class InterfaceIndex(SearchIndex):
109
110
('mtu' , 2000 ),
110
111
('speed' , 2000 ),
111
112
)
112
- display_attrs = ('device' , 'label' , 'description' )
113
+ display_attrs = ('device' , 'label' , 'type' , 'mac_address' , 'wwn' , ' description' )
113
114
114
115
115
116
@register_search
@@ -123,7 +124,7 @@ class InventoryItemIndex(SearchIndex):
123
124
('description' , 500 ),
124
125
('part_id' , 2000 ),
125
126
)
126
- display_attrs = ('device' , 'manufacturer' , 'part_id' , 'serial' , 'asset_tag' , 'description' )
127
+ display_attrs = ('device' , 'manufacturer' , 'parent' , ' part_id' , 'serial' , 'asset_tag' , 'description' )
127
128
128
129
129
130
@register_search
@@ -213,7 +214,7 @@ class PowerOutletIndex(SearchIndex):
213
214
('label' , 200 ),
214
215
('description' , 500 ),
215
216
)
216
- display_attrs = ('device' , 'label' , 'description' )
217
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
217
218
218
219
219
220
@register_search
@@ -237,7 +238,7 @@ class PowerPortIndex(SearchIndex):
237
238
('maximum_draw' , 2000 ),
238
239
('allocated_draw' , 2000 ),
239
240
)
240
- display_attrs = ('device' , 'label' , 'description' )
241
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
241
242
242
243
243
244
@register_search
@@ -251,7 +252,9 @@ class RackIndex(SearchIndex):
251
252
('description' , 500 ),
252
253
('comments' , 5000 ),
253
254
)
254
- display_attrs = ('site' , 'location' , 'facility_id' , 'tenant' , 'status' , 'role' , 'description' )
255
+ display_attrs = (
256
+ 'site' , 'location' , 'facility_id' , 'tenant' , 'status' , 'role' , 'serial' , 'asset_tag' , 'description' ,
257
+ )
255
258
256
259
257
260
@register_search
@@ -272,7 +275,7 @@ class RackRoleIndex(SearchIndex):
272
275
('slug' , 110 ),
273
276
('description' , 500 ),
274
277
)
275
- display_attrs = ('device' , 'label' , ' description' ,)
278
+ display_attrs = ('description' ,)
276
279
277
280
278
281
@register_search
@@ -283,7 +286,7 @@ class RearPortIndex(SearchIndex):
283
286
('label' , 200 ),
284
287
('description' , 500 ),
285
288
)
286
- display_attrs = ('device' , 'label' , 'description' )
289
+ display_attrs = ('device' , 'label' , 'type' , ' description' )
287
290
288
291
289
292
@register_search
@@ -309,7 +312,7 @@ class SiteIndex(SearchIndex):
309
312
('shipping_address' , 2000 ),
310
313
('comments' , 5000 ),
311
314
)
312
- display_attrs = ('region' , 'group' , 'status' , 'description' )
315
+ display_attrs = ('region' , 'group' , 'status' , 'tenant' , 'facility' , ' description' )
313
316
314
317
315
318
@register_search
@@ -344,4 +347,4 @@ class VirtualDeviceContextIndex(SearchIndex):
344
347
('description' , 500 ),
345
348
('comments' , 5000 ),
346
349
)
347
- display_attrs = ('device' , 'status' , 'identifier' , 'description' )
350
+ display_attrs = ('device' , 'status' , 'identifier' , 'tenant' , ' description' )
0 commit comments