@@ -40,6 +40,10 @@ class TunnelTable(TenancyColumnsMixin, NetBoxTable):
40
40
verbose_name = _ ('Name' ),
41
41
linkify = True
42
42
)
43
+ group = tables .Column (
44
+ verbose_name = _ ('Group' ),
45
+ linkify = True
46
+ )
43
47
status = columns .ChoiceFieldColumn (
44
48
verbose_name = _ ('Status' )
45
49
)
@@ -63,10 +67,10 @@ class TunnelTable(TenancyColumnsMixin, NetBoxTable):
63
67
class Meta (NetBoxTable .Meta ):
64
68
model = Tunnel
65
69
fields = (
66
- 'pk' , 'id' , 'name' , 'status' , 'encapsulation' , 'ipsec_profile' , 'tenant' , 'tenant_group' , 'tunnel_id ' ,
67
- 'termination_count' , 'description' , 'comments' , 'tags' , 'created' , 'last_updated' ,
70
+ 'pk' , 'id' , 'name' , 'group' , ' status' , 'encapsulation' , 'ipsec_profile' , 'tenant' , 'tenant_group' ,
71
+ 'tunnel_id' , ' termination_count' , 'description' , 'comments' , 'tags' , 'created' , 'last_updated' ,
68
72
)
69
- default_columns = ('pk' , 'name' , 'status' , 'encapsulation' , 'tenant' , 'terminations_count' )
73
+ default_columns = ('pk' , 'name' , 'group' , ' status' , 'encapsulation' , 'tenant' , 'terminations_count' )
70
74
71
75
72
76
class TunnelTerminationTable (TenancyColumnsMixin , NetBoxTable ):
0 commit comments