Skip to content

Commit

Permalink
feat(snmp): add name to SNMPCommunityReadSerializer
Browse files Browse the repository at this point in the history
Include a string index in the ietf_snmp YANG model by adding the name to the cmdb/snmp output.
  • Loading branch information
cpaillet committed Jun 17, 2024
1 parent 3994754 commit c5b1a61
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 c5b1a61

Please sign in to comment.