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

Closes #2029: Added optional NAPALM arguments to Platform model

This commit is contained in:
Jeremy Stretch
2018-06-29 11:21:00 -04:00
parent f5f16ce64b
commit 35d58d2f7c
5 changed files with 37 additions and 5 deletions

View File

@ -346,7 +346,7 @@ class PlatformSerializer(ValidatedModelSerializer):
class Meta:
model = Platform
fields = ['id', 'name', 'slug', 'manufacturer', 'napalm_driver', 'rpc_client']
fields = ['id', 'name', 'slug', 'manufacturer', 'napalm_driver', 'napalm_args', 'rpc_client']
class NestedPlatformSerializer(WritableNestedSerializer):