Skip to content

Commit

Permalink
(feat) Add Name to SNMPCommunityReadSerializer
Browse files Browse the repository at this point in the history
To include a string index in the ietf_snmp YANG model, we have added the community name to the cmdb/snmp output.
  • Loading branch information
cpaillet committed Jun 17, 2024
1 parent 3994754 commit 0d93d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_cmdb/netbox_cmdb/api/snmp/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SNMPCommunityReadSerializer(ModelSerializer):

class Meta:
model = SNMPCommunity
fields = ["community", "type"]
fields = ["name", "community", "type"]


class SNMPReadSerializer(ModelSerializer):
Expand Down

0 comments on commit 0d93d96

Please sign in to comment.