mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Reorder items
This commit is contained in:
parent
98e3461503
commit
39f139a24d
@ -1208,9 +1208,6 @@ class Interface(models.Model):
|
||||
pass
|
||||
return bool(self.connection)
|
||||
|
||||
def get_status_class(self):
|
||||
return IFACE_ENABLED_CHOICES[self.enabled]
|
||||
|
||||
@property
|
||||
def connection(self):
|
||||
try:
|
||||
@ -1237,6 +1234,9 @@ class Interface(models.Model):
|
||||
pass
|
||||
return None
|
||||
|
||||
def get_status_class(self):
|
||||
return IFACE_ENABLED_CHOICES[self.enabled]
|
||||
|
||||
# Used for export
|
||||
def to_csv(self):
|
||||
return csv_format([
|
||||
|
Loading…
Reference in New Issue
Block a user