|
@@ -210,6 +210,10 @@ class DeviceTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
|
|
|
linkify=True,
|
|
linkify=True,
|
|
|
verbose_name=_('Type')
|
|
verbose_name=_('Type')
|
|
|
)
|
|
)
|
|
|
|
|
+ platform = tables.Column(
|
|
|
|
|
+ linkify=True,
|
|
|
|
|
+ verbose_name=_('Platform')
|
|
|
|
|
+ )
|
|
|
primary_ip = tables.Column(
|
|
primary_ip = tables.Column(
|
|
|
linkify=True,
|
|
linkify=True,
|
|
|
order_by=('primary_ip4', 'primary_ip6'),
|
|
order_by=('primary_ip4', 'primary_ip6'),
|
|
@@ -294,7 +298,7 @@ class DeviceTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable):
|
|
|
model = models.Device
|
|
model = models.Device
|
|
|
fields = (
|
|
fields = (
|
|
|
'pk', 'id', 'name', 'status', 'tenant', 'tenant_group', 'role', 'manufacturer', 'device_type',
|
|
'pk', 'id', 'name', 'status', 'tenant', 'tenant_group', 'role', 'manufacturer', 'device_type',
|
|
|
- 'platform', 'serial', 'asset_tag', 'region', 'site_group', 'site', 'location', 'rack', 'parent_device',
|
|
|
|
|
|
|
+ 'serial', 'asset_tag', 'region', 'site_group', 'site', 'location', 'rack', 'parent_device',
|
|
|
'device_bay_position', 'position', 'face', 'latitude', 'longitude', 'airflow', 'primary_ip', 'primary_ip4',
|
|
'device_bay_position', 'position', 'face', 'latitude', 'longitude', 'airflow', 'primary_ip', 'primary_ip4',
|
|
|
'primary_ip6', 'oob_ip', 'cluster', 'virtual_chassis', 'vc_position', 'vc_priority', 'description',
|
|
'primary_ip6', 'oob_ip', 'cluster', 'virtual_chassis', 'vc_position', 'vc_priority', 'description',
|
|
|
'config_template', 'comments', 'contacts', 'tags', 'created', 'last_updated',
|
|
'config_template', 'comments', 'contacts', 'tags', 'created', 'last_updated',
|