mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Added csv_headers to Interface model
This commit is contained in:
parent
bb7fc02654
commit
3e122c4a32
@ -1148,7 +1148,9 @@ class Interface(models.Model):
|
||||
description = models.CharField(max_length=100, blank=True)
|
||||
|
||||
objects = InterfaceQuerySet.as_manager()
|
||||
|
||||
|
||||
csv_headers = ['device','lag','name','mac_address','form_factor','enabled','description','mtu','mgmt_only','is_virtual','is_wireless','is_connected','is_lag']
|
||||
|
||||
class Meta:
|
||||
ordering = ['device', 'name']
|
||||
unique_together = ['device', 'name']
|
||||
|
Loading…
Reference in New Issue
Block a user