1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add the enabled filed to InterfaceTemplate

This commit is contained in:
kkthxbye
2023-01-09 09:01:14 +01:00
committed by jeremystretch
parent 1a2dae3471
commit 8e94eb67d2
10 changed files with 47 additions and 8 deletions

View File

@@ -487,7 +487,7 @@ class InterfaceTemplateSerializer(ValidatedModelSerializer):
class Meta:
model = InterfaceTemplate
fields = [
'id', 'url', 'display', 'device_type', 'module_type', 'name', 'label', 'type', 'mgmt_only', 'description',
'id', 'url', 'display', 'device_type', 'module_type', 'name', 'label', 'type', 'enabled', 'mgmt_only', 'description',
'poe_mode', 'poe_type', 'created', 'last_updated',
]